27 lines
813 B
HTML
27 lines
813 B
HTML
<section class="container list">
|
|
<h1 class="title">
|
|
{{- .Title -}}
|
|
</h1>
|
|
{{- if eq .Kind "taxonomy" -}}
|
|
<div class="list-meta">
|
|
<span class="meta-tag">
|
|
{{- if eq .Data.Singular "category" -}}
|
|
<i class="icon material-icons-outlined">folder</i>
|
|
{{- else if eq .Data.Singular "tag" -}}
|
|
<i class="icon material-icons-outlined">local_offer</i>
|
|
{{- end -}}
|
|
{{- .Data.Term -}}
|
|
</span>
|
|
</div>
|
|
{{- end -}}
|
|
<ul>
|
|
{{ range .Paginator.Pages }}
|
|
<li>
|
|
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
|
|
<a class="title" href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ partial "pagination.html" . }}
|
|
</section>
|