Hacker News new | past | comments | ask | show | jobs | submit login

I've found Hugo to be a good option.

https://gohugo.io/




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.


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.


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.


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


It does indeed have a bit of a learning curve. IMHO it’s worth the investment, YMMV.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: