Files
website/layouts/_partials/link-list.html
T

9 lines
290 B
HTML

{{/* list of page paths -> links */}}
<ul class="links">
{{ range . }}
{{ with site.GetPage . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ with .GetTerms "years" }} <small>({{ range first 1 . }}{{ .LinkTitle }}{{ end }})</small>{{ end }}</li>
{{ end }}
{{ end }}
</ul>