3 ms·
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, bu
by joncalhoun 9y ago
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.
- dhruvkar 9y agohttps://gohugohq.com/howto/compare-date-strings-in-hugo/ 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.