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

A lot of the syntax is a byproduct of the template packages shipped in Go.

I assume the ordering of or, if, etc is a byproduct of them being function calls, but I'd have to double check to verify. Regardless it's a little weird at first but you get used to it after a bit. I used a fair bit of customization on the www.calhoun.io theme and I didn't have to think twice about the order of terms after a short while.




https://gohugohq.com/howto/compare-date-strings-in-hugo/

This was a useful site for deeper exploration into the syntax. Sometimes, it's just trial and error.




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

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

Search: