based.cooking/layouts/shortcodes/artlist.html

8 lines
272 B
HTML
Raw Normal View History

2022-05-09 03:41:11 +01:00
<ul id=artlist>
{{ $number := 0 -}}
{{- range.Site.RegularPages -}}
{{- $number = add $number 1 -}}
<li data-tags="{{.Params.Tags}}" {{ if gt $number .Site.Params.indexarticles }}class="older-article"{{ end }}><a href="{{.Permalink}}">{{.Title}}</a></li>
{{ end -}}
2022-05-09 03:41:11 +01:00
</ul>