My old hugo blog suddenly throw an error after install the latest Hugo 0.72.0
{{ if ( .Params.foo ) and ( .Params.foo "!=" "") -}}
...
{{- end }}
Hugo Static Site Generator v0.72.0/extended windows/amd64 BuildDate: unknown
any idea?
My old hugo blog suddenly throw an error after install the latest Hugo 0.72.0
{{ if ( .Params.foo ) and ( .Params.foo "!=" "") -}}
...
{{- end }}
Hugo Static Site Generator v0.72.0/extended windows/amd64 BuildDate: unknown
any idea?
fix:
{{ if and ( .Params.foo ) ( .Params.foo "!=" "") -}}