Add invert Param to the config file. Add the 'odd' class to the post-holders and the 'even' class to the post-afters using Hugo if statements instead of using JS. Marking invert = true in the config file flips which sections are marked odd and even. |
||
|---|---|---|
| .. | ||
| content | ||
| layouts/partials | ||
| static | ||
| config.toml | ||