To add to this, the above corresponds to:
{{ if eq .Kind "home" }}
In Hugo >= 0.18.
Which is more flexible as you can say:
{{ if eq .Kind "section" }}
{{ if eq .Kind "taxonomy" }}
Etc.
To add to this, the above corresponds to:
{{ if eq .Kind "home" }}
In Hugo >= 0.18.
Which is more flexible as you can say:
{{ if eq .Kind "section" }}
{{ if eq .Kind "taxonomy" }}
Etc.