Hacker News new | ask | show | jobs
by sandGorgon 3023 days ago
if the page builder is able to export to something like Gatsby or Hugo templates, then that eases the fear of lockin
2 comments

Since it is just 1 page, I think you should be able to just save the source with all the dependencies and then host it somewhere else afterwards
wget will do that for you nicely, also. I've used it to make static archives of fairly complex Drupal-based sites, so a one-pager should be a breeze.
Templates? If it's just one page, just download the HTML.
it may or may not be one page - however, that is a pretty fundamental question you ask about static site generators.

Why use them, when you can use plain html ?

Well, its because they come with nice features like componentized layouts and templates, optimized build (including minification of any js, etc) and most importantly content in markdown/yaml for easy editing.

For me, the reason to use templates is so that the navigation, header, footer, etc. is internally-consistent without O(n) human effort.