News for hackers. Stuff that matters.
Re:Netlify Drop by hnaccount141 on Wednesday November 17, 2021 @12:40PM (#29256159)
I've found Hugo to be a good option.

https://gohugo.io/

Re:Netlify Drop by DoctorOW on Wednesday November 17, 2021 @01:11PM (#29256614)
Hugo is absolutely fantastic and incredibly powerful. It's nowhere near as simple as was requested. It's the most setup of any of the SSGs worth using.
Re:Netlify Drop by knuthsat on Wednesday November 17, 2021 @03:38PM (#29258530)
I don't find it powerful at all. Very hard to map through structures in templates.

Much easier to write templates in a real language.

Most of the time I need to map data to something else suitable for rendering. That mapping goes from markdown frontmatter to some nice form.

I ended up not using templates at all due to how cumbersome it is to write any kind of data transformations inside the template language.

Might as well just generate html myself.

A nice example is generating menu contents from a list of menu items with their sort weight and links. Ends up being very cumbersome.

Re:Netlify Drop by skrtskrt on Wednesday November 17, 2021 @03:57PM (#29258723)
The biggest issue with Hugo for me was trying to create a custom theme (in order to get a stripped-down site without a bunch of BS), everything breaks if you don't arrange all the files exactly the way required by Hugo themes.

Once I got that, and learned some Go templating in the process, it's just markdown files, fire and forget.

Re:Netlify Drop by qudat on Wednesday November 17, 2021 @03:00PM (#29258151)
Agreed. I have been using hugo for my blog https://erock.io and I still don't completely understand how it works. I just have enough to pattern match on to figure things out
Re:Netlify Drop by cpach on Wednesday November 17, 2021 @01:50PM (#29257196)
It does indeed have a bit of a learning curve. IMHO it’s worth the investment, YMMV.