43 lines
992 B
HTML
43 lines
992 B
HTML
{{ 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 }}
|
|
{{ .Content }}
|
|
<div class="post-info">
|
|
<p>Subscribe to the RSS feed for <i>this view</i> by <a href="index.xml">copying this link</a>.</p>
|
|
</div>
|
|
<ul class="blog-posts">
|
|
{{ range .Pages }}
|
|
<li>
|
|
<span>
|
|
<i>
|
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
|
{{ .Date.Format "02 Jan, 2006" }}
|
|
</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 }}
|