32 lines
871 B
HTML
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 }}
|