1
0
Fork 0
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
kekskurse.de-old/themes/archie/layouts/_default/term.html
2020-11-11 15:43:41 +01:00

32 lines
871 B
HTML

{{ define "main" }}
{{ if isset .Data "Term" }}
<h1>Entries tagged - "{{ .Data.Term }}"</h1>
{{ else }}
<h1 class="page-title">All articles</h1>
{{ end }}
<ul class="posts">
{{- range .Data.Pages -}}
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
<li class="post">
<img src="/img/general/{{ .Params.lang }}.png" style="width: 20px; border: 0px solid green;"/>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
<span class="meta">
{{ dateFormat "Jan 2, 2006" .Date }}
{{ if .Params.tags }}
<span class="draft-label" style="font-size: 10px;">
{{ range .Params.tags }}
{{ if ne . "Blog" }}
{{ . }},
{{ end }}
{{ end }}
</span>
{{ end }}
{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}
</span>
</li>
{{- end -}}
{{- end -}}
</ul>
{{ end }}