mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-15 03:59:22 +01:00
20 lines
574 B
HTML
20 lines
574 B
HTML
|
{{ define "main" }}
|
||
|
{{ if isset .Data "Term" }}
|
||
|
<h1>Entries tagged - "{{ .Data.Term }}"</h1>
|
||
|
{{ else }}
|
||
|
<h1>Random pondering</h1>
|
||
|
{{ end }}
|
||
|
|
||
|
<ul>
|
||
|
{{- range .Data.Pages -}}
|
||
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
||
|
<li>
|
||
|
<time class="readData metaData">{{ dateFormat "02, 01 2006" .Date }}</time>
|
||
|
<a href="{{ .RelPermalink }}">{{.Title}}</a>
|
||
|
<span class="readData">» {{ .ReadingTime }} min read.</span>
|
||
|
{{ if .Draft }} <span class="metaData">» draft</span> {{ end }}
|
||
|
</li>
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|
||
|
</ul>
|
||
|
{{ end }}
|