Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

RobotLeanne

2
Posts
1
Topics
A member registered Jun 06, 2020

Recent community posts

Ah, thank you so much for your advice! I think I misinterpreted part of the explanation for the posts array.

*Each time you make a new post, add the filepath here at the top of postsArray.   This will cause all the right links to appear and work.
NOTE: It's important to follow this exact naming convention, because the scripts below are expecting it ( 'posts/YYYY-MM-DD-Title-of-Your-Post.html', ). You can alter the scripts if you want to use a different naming convention*/

I thought this meant "use a different naming convention" also applied to the "posts/" part.

I will look into your proposed solutions! Thank you so much for your time and have a nice day :)

Hello! Thank you so much for Zonelets. It's been so much fun playing around with html, something I've not done much of.

Here is my question and before that an explanation:

I want to make separate versions of my blog section, since I am planning on posting multiple different stories and I want to easily link to next and previous chapters without encountering the chapters from other stories. So my idea was to make a copy of the standard script.js, give it another name and also edit that name into the html pages to replace the standard script for the specific chapter pages.

So far I have everything working: the chapters link nicely and the page is fully functional, except for one thing: the title conversion is not working. So instead of a nice title and date based on the file name, I'm just getting the file name in the title, and writing the date and title in the html itself is not overwriting that.

I have replaced every "posts/" in the script with the title of the folder that my chapters are in, since it said in the file that that was something you can do, but is there perhaps something else I need to adjust?

Thank you so much for your time and help!