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. |
||
|---|---|---|
| .. | ||
| _default | ||
| partials | ||
| shortcodes | ||
| 404.html | ||
| index.html | ||