2020-07-22 10:23:34 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ if isset .Data "Term" }}
|
|
|
|
<h1>Entries tagged - "{{ .Data.Term }}"</h1>
|
|
|
|
{{ else }}
|
|
|
|
<h1 class="page-title">All articles</h1>
|
|
|
|
{{ end }}
|
2020-04-08 20:44:29 +02:00
|
|
|
|
2020-07-22 10:23:34 +02:00
|
|
|
<ul class="posts">
|
|
|
|
{{- range .Data.Pages -}}
|
|
|
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
|
|
|
<li class="post">
|
2024-08-05 20:10:42 +02:00
|
|
|
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta">{{ dateFormat ":date_medium" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</span>
|
2020-07-22 10:23:34 +02:00
|
|
|
</li>
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|