hugo-internet-weblog/layouts/partials/default_list.html
Ghyslain Leclerc 03642a1bc3 Add capacity to get yearly grouping for microposts.
Adds a parameter called YearlyMicroposts which is used to either:
   - output the usual list of microposts if the parameter is not set or set to
     false;
   - output a list of micropost titles grouped by year (just like the posts list
     is) if the parameter is set and true.
The default behavior is not changed and the setting needs not be defined thus
not complicating the default installation.
2017-11-29 17:05:06 -05:00

3 lines
70 B
HTML

<main class="content">
{{ partial "preview_list.html" . }}
</main>