logoalt Hacker News

dzinklast Sunday at 2:22 PM4 repliesview on HN

For long term stuff like a blog, nothing seems to beat static sites generated before deployment, instead of automated tools like Hugo. I tried Hugo years ago and some tiny config or update would suddenly expose all site variables to visitors, which was an incredible security risk. Wordpress and Drupal are a war zone of attacks - judging by the server logs of any of web site. These days you can custom write or design any page, click to build all menus, site maps, rss with something as simple as gulp, and move the files out via SFTP. Fast, performant, and secure.


Replies

loveparadelast Sunday at 2:32 PM

Isn't static site generation exactly what hugo does?

show 1 reply
embedding-shapelast Sunday at 2:42 PM

I'm fairly sure you're confusing Hugo with something else, Hugo is strictly a tool for building static websites. AFAIK, there are no features of Hugo which isn't for static website building.

loloquwowndueolast Sunday at 2:27 PM

Um. I don’t understand how Hugo is not a tool to create “ static sites generated before deployment”. I run Hugo to build all static content, check it locally, then push it via rsync.