News for hackers. Stuff that matters.
Re:Show HN: CMS.js – Fully Client-Side JavaScript Site Gener... by danielovich on Tuesday January 19, 2016 @06:04AM (#10929919)
i can't get it to run.

it's cloned to danielovich.github.io but then it breaks!

:/

Re:Show HN: CMS.js – Fully Client-Side JavaScript Site Gener... by inflam52 on Tuesday January 19, 2016 @09:53AM (#10931097)
Make sure your config has your Github username and repo name. Looks like it's blank according to the console.
Re:Show HN: CMS.js – Fully Client-Side JavaScript Site Gener... by danielovich on Tuesday January 19, 2016 @10:58AM (#10931512)
updated that, still cannot get pages or posts to work.

bummer...

Re:Show HN: CMS.js – Fully Client-Side JavaScript Site Gener... by inflam52 on Tuesday January 19, 2016 @11:22AM (#10931693)
ohhh I see what's going on here. since you cloned the demo, you need to use postsFolder: 'demo/posts' and pagesFolder: 'demo/pages' since they are located inside the demo folder. The demo is setup slightly different than a standard setup since it's in the subfolder.
Re:Show HN: CMS.js – Fully Client-Side JavaScript Site Gener... by danielovich on Wednesday January 20, 2016 @03:30AM (#10936724)
You rock! Thank you
Re:Show HN: CMS.js – Fully Client-Side JavaScript Site Gener... by inflam52 on Tuesday January 19, 2016 @12:04PM (#10932015)
Also make sure you are on editing the config.js gh-pages branch as this is the branch Github uses for hosting. If you want to use the code you have on master, just merge master into gh-pages. If you have any more issues, feel free to email me.