I want to run some Hugo template code on the homepage.
I use pagination and that gives me 5 index pages:
I want to run code only on the first of those. (That’s the actual homepage for me.) But how can I check that conditionally?
Page variables that I’ve tried:
trueon each of the five pages.
/on each page.
homeon each page.
truefor each page.
.Permalink; always the same on each page.
Hmm. Anyone got an idea?