Fixed a minor typo in commented code
Zonelets (Starter Files) » Devlog
Just a small update fixing an issue that I think may have been tripping some people up.
Posts Array in the script.js file comes with some example lines for adding more posts. However, the first line was missing a comma at the end, causing the array to break if you actually uncomment it. Each entry in a JavaScript array should be separated by a comma. Now it correctly reads as follows:
let postsArray = [ //[ "posts/2020-11-10-Special-Characters-Example.html", encodeURI( 'Spéci@l "Character\'s" Examp|e' ) ], //[ "posts/2020-11-10-My-Third-Post-Example.html" ], //[ "posts/2020-11-10-My-Second-Post-Example.html" ], [ "posts/2020-11-10-Post-Template.html" ] ];
Happy blogging!
Files
zonelet_starter_01_51.zip 135 kB
Jul 17, 2023
Get Zonelets (Starter Files)
Zonelets (Starter Files)
A simple, free blogging engine for everyone!
More posts
- Tweak comments to clarify script usageJul 26, 2023
- Zonelets Bugfix UpdateDec 19, 2022
- Version 1.4: moved script file for convenienceDec 12, 2020
- v1.31 Better handling of dates and post titles! Plus small but important bugfix!Nov 15, 2020
- New default theme "Diamonds", plus Theme Pack 1.1Nov 15, 2020
- Version 1.1 Update!Nov 13, 2020
Leave a comment
Log in with itch.io to leave a comment.