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.
3 lines
70 B
HTML
3 lines
70 B
HTML
<main class="content">
|
|
{{ partial "preview_list.html" . }}
|
|
</main>
|