27 lines
773 B
HTML
27 lines
773 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 fas fa-folder"></i>
|
|
{{- else if eq .Data.Singular "tag" -}}
|
|
<i class="icon fas fa-tag"></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>
|