<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 -}}
</ul>
