Why this code not working when $zero == 0?
{{ if eq $zero 0 }}
some html
{{ end }}
All template code is here: http://pastebin.com/PD3AjbFj
Why this code not working when $zero == 0?
{{ if eq $zero 0 }}
some html
{{ end }}
All template code is here: http://pastebin.com/PD3AjbFj
I you use Hugo 0.13, this is probably it:
Fixed in 0.14-DEV.
Thanks for answer. How I can upgrade to last dev version? (OS X).
And when will be realised 0.14 final?
The answer may be in the doc/README.
You’d have to build from source.