2021-09-26 15:02:47 -05:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ if .Data.Singular }}
|
|
|
|
<h3>Filtering for "{{ .Title }}"</h3>
|
|
|
|
<small>
|
|
|
|
<a href="{{ . | relURL }}">Remove filter</a>
|
|
|
|
</small>
|
|
|
|
{{ else }}
|
2021-09-26 19:21:48 -05:00
|
|
|
<h1>{{ .Title | markdownify }}</h1>
|
2021-09-26 15:02:47 -05:00
|
|
|
{{ end }}
|
|
|
|
<ul>
|
2021-09-27 20:47:39 -05:00
|
|
|
{{ $showDate := .Params.showdate }}
|
2021-09-26 15:02:47 -05:00
|
|
|
{{ range .Pages }}
|
|
|
|
<li>
|
2021-09-27 20:47:39 -05:00
|
|
|
{{ if $showDate }}
|
2021-09-26 15:02:47 -05:00
|
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
|
|
|
{{ .Date.Format "2006-01-02" }}
|
|
|
|
</time>
|
|
|
|
{{ end }}
|
2021-09-26 19:21:48 -05:00
|
|
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
2021-09-26 15:02:47 -05:00
|
|
|
</li>
|
|
|
|
{{ else }}
|
|
|
|
<li>
|
|
|
|
No posts here!
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ if .Data.Singular }}
|
|
|
|
{{ else }}
|
|
|
|
<small>
|
|
|
|
Site-wide tags:
|
2021-09-27 14:16:52 -05:00
|
|
|
<span class="tags">
|
|
|
|
<br />
|
2021-09-26 15:02:47 -05:00
|
|
|
{{ range .Site.Taxonomies.tags }}
|
|
|
|
<a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a>
|
|
|
|
{{ end }}
|
2021-09-27 14:16:52 -05:00
|
|
|
</span>
|
2021-09-26 15:02:47 -05:00
|
|
|
</small>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|