Omphaloskepsis-2/layouts/partials/years-list.html

5 lines
172 B
HTML

<ul class="minor-links__years">
{{ range ( ( where .Pages "Draft" false ).GroupByDate "2006" ) }}
<li><a href="#items-{{ .Key }}">{{ .Key }}</a></li>
{{ end }}
</ul>