4 ms·
> > an entirely blank page > That's only true if you use 'view source'. If you open up > dev tools, all of the elements are rendered in full and > live updat
by pwg 11y ago
> > an entirely blank page
> That's only true if you use 'view source'. If you open up
> dev tools, all of the elements are rendered in full and
> live updated as they change.
If one attempts to view the demo with client side javascript turned off - one gets a completely blank page. The very point to a static site generator is the word "static" which is generally taken to mean that the actual rendering of the content requires only HTML rendering (no javascript (or php or ??) code execution, server side or client side).
- tobr 11y agoEven with js turned on, I get a mostly blank page. It chokes on String.prototype.endsWith, which is an ES6 feature not supported by my very-slightly-out-of-date version of Safari. If you want to render your blog in client side js AND use fresh-from-the-oven js features, the least you can do is include a polyfill.
- inflam52 11y agoThanks for pointing this out. Going to be adding a polyfill for that!
- inflam52 11y agoRight, this is exactly why I'm avoiding using the word "static". I began by using that term but have strayed away from it for several reasons.