-
Notifications
You must be signed in to change notification settings - Fork 26
Adding New Content
Make sure to add the author/artist to the credits.html page.
Make A new html file in the assets/articles directory for the article. To keep the theme correct copy another article and then change images, meta tags, and the article body. Images for the article go in assets/images. It is also good to link to other related articles. The articleid variable should be one less than the number of articles. So if there are 10 articles then the newest article should have an id of 9. When The article file seems complete go to main.js and add the link or path of the article, the path of the image and the title (variable is named description but really should only be one quick sentence). After that's done add the page to sitemap.xml and sw.js.
Make a new folder for the images in assets/artwork. The folder should be the next number counting upwards by one. Place all images there. If possible compress images before adding. Than head over to main.js and add the image paths and author to the artwork variable following the format of previous artwork.
Find the video on YouTube, click the share and then embed buttons, and copy the embed link out of the iframe code. Then paste that link into the videos variable in main.js.
When adding new content version should not be changed.