Live data from Hacker News

Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

cdmedia.github.io

1–10 of 97 posts

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#2
Shameless self-promotion:

For easy theming, I suggest you to take a look at the Classless Project, which will be super easy to integrate to in your case and will bring many already made themes with it -- and much more to come.

The ursprung[2] micro CMS is integrating Classless with success to this day.

[1]: https://github.com/websitesfortrello/classless

[2]: https://github.com/onli/ursprung

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#3
post #2

Shameless self-promotion: For easy theming, I suggest you to take a look at the Classless Project, which will be super easy to integrate to in your case and will bring many already made themes with it -- and much more to come. The ursprung[2] micro CMS is integrating Classless with success to this day. [1]: https://github.com/websitesfortrello/classless [2]: https://github.com/onli/ursprung

Thanks for the suggestion. Looks very cool. I'm definitely going to take a deeper look into this.

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#5
post #4

does it affect site's SEO?

Good question.

My guess is it will be OK for the text, but links will be out of whack so bots won't really "crawl" the site. Then again, maybe advanced bots will run the js?

also, I know words in h-tags are usually "counted" as more important, so that logic won't work with raw .md

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#6
I know there seem to be two rather large groups on HN, one for proliferation of JS and one against, but at the very least if someone from the latter visits your site, please show something better than an entirely blank page.

(I'm speaking of the demo, not the actual site describing it --- although I thought it would be hosted with itself.)

As for the idea of turning static content sites into client-side JS-rendered apps, that gets a strong disapproval from me. Why? It's needless complexity (instead of generating the HTML once and storing it on the server, every single visitor has to regenerate it on their machine), bad for accessibility, and very much against the principle of the Web that information should be easily linkable and retrievable. I can understanding using JS to do "app-ish" things that wouldn't be possible with static pages, but this is reinventing the wheel and making it square.

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#7
post #2

Shameless self-promotion: For easy theming, I suggest you to take a look at the Classless Project, which will be super easy to integrate to in your case and will bring many already made themes with it -- and much more to come. The ursprung[2] micro CMS is integrating Classless with success to this day. [1]: https://github.com/websitesfortrello/classless [2]: https://github.com/onli/ursprung

Awesome collection. I'll have to find an excuse to use one of these now.

The only thing I'd suggest is, use ES6 instead of CoffeeScript or provide an ES5 copy of the code.

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#8
post #4

does it affect site's SEO?

do a view source and take a guess, off course it will affect the SEO

but hey no problem it's JS, so to correct that SEO problem they will probably do a whole render of the page server-side with something like PhamtomJS and serve those "special" pages to bots

which I think is totally insane

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#9
post #5
post #4

does it affect site's SEO?

Good question. My guess is it will be OK for the text, but links will be out of whack so bots won't really "crawl" the site. Then again, maybe advanced bots will run the js? also, I know words in h-tags are usually "counted" as more important, so that logic won't work with raw .md

what text ?

there is no text, the page is empty, the linking is not the first priority at this point

a robot to be able to read the text would already need to run the js in the first place

but the concept is interesting let's do a CONTENT management system but be completely invisible to any search bots so our CONTENT never ever get referenced and searchable on the Internet

Re: Show HN: CMS.js – Fully Client-Side JavaScript Site Generator

#10
Cool. I'm actually building something very similar @ http://evanplaice.com. I use Markdown/JSON for all of the content. Markdown files can easily be embedded in a page using the directive I wrote. The source is @ http://github.com/evanplaice/evanplaice.com.

I'm planning to eventually extract the good bits, and adapt it to work with Jekyll files. Front-matter support is the last major road block.

Google shouldn't have any issue indexing AJAX-loaded content. On my site it's the Angular2 router that's really screwing SEO. You can test it out using the 'Fetch as Google' tool.

Post reply on HN