by kaushalmodi · 9y ago · 0 comments
if (or cond1 cond2) (if (or cond1 cond2) (then) (else))
although i suppose it's not really hugo anymore.. (if (or cond1 .. condn)
(progn
(true1)
(true2))
(false1)
(false2))
But in Go templates, it would be:{{ if (or cond1 .. condn) }} true1 true2 {{ else }} false1 false2 {{ endif }}