In my layouts/_default/term.html template I have an if block for my now page to show only one post:
{{ if eq .Data.Term "now" }}
and then I do stuff under that, for example.
If you’re not familiar with Hugo, I think this will be a bit challenging.
In my layouts/_default/term.html template I have an if block for my now page to show only one post:
{{ if eq .Data.Term "now" }}
and then I do stuff under that, for example.
If you’re not familiar with Hugo, I think this will be a bit challenging.