2020-08-31 13:40:11 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<content>
|
|
|
|
{{ if .Data.Singular }}
|
|
|
|
<h3 style="margin-bottom:0">Filtering for "{{ .Title }}"</h3>
|
|
|
|
<small>
|
|
|
|
<a href="{{ "/blog" | relURL }}">Remove filter</a>
|
|
|
|
</small>
|
|
|
|
{{ end }}
|
2020-10-01 14:12:16 +00:00
|
|
|
<ul class="blog-posts">
|
2020-08-31 13:40:11 +00:00
|
|
|
{{ range .Pages }}
|
|
|
|
<li>
|
|
|
|
<span>
|
|
|
|
<i>
|
|
|
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
2021-04-06 06:47:59 +00:00
|
|
|
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
|
2020-08-31 13:40:11 +00:00
|
|
|
</time>
|
|
|
|
</i>
|
|
|
|
</span>
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
|
|
</li>
|
|
|
|
{{ else }}
|
|
|
|
<li>
|
|
|
|
No posts yet
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ if .Data.Singular }}
|
|
|
|
{{else}}
|
|
|
|
<small>
|
|
|
|
<div>
|
|
|
|
{{ range .Site.Taxonomies.tags }}
|
|
|
|
<a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</small>
|
|
|
|
{{ end }}
|
|
|
|
</content>
|
|
|
|
{{ end }}
|