2020-04-22 10:14:28 +00: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 18:44:29 +00:00
|
|
|
|
2020-04-22 10:14:28 +00:00
|
|
|
<ul class="posts">
|
|
|
|
{{- range .Data.Pages -}}
|
|
|
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
|
|
|
<li class="post">
|
|
|
|
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta">{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</span>
|
|
|
|
</li>
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|