Untitled
unknown
plain_text
a year ago
1.2 kB
12
Indexable
{{ define "main" }}
<content>
{{ if .Data.Singular }}
<h3>Filtering for "{{ .Title }}"</h3>
<small>
<a href="{{ relURL "blog" }}">Remove filter</a>
</small>
{{ end }}
<ul class="blog-posts">
{{ range .Paginator.Pages }}
<li>
<span>
<i>
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
</time>
</i>
</span>
{{ if .Params.link }}
<a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a>
{{ else }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
</li>
{{ else }}
<li>No posts yet</li>
{{ end }}
</ul>
{{ if not .Data.Singular }}
<small>
<div>
{{ range .Site.Taxonomies.tags }}
<a href="{{ .Page.RelPermalink }}">#{{ .Page.LinkTitle }}</a>
{{ end }}
</div>
</small>
{{ end }}
<!-- Include AdSense Partial -->
{{ partial "google/adsense" . }}
</content>
{{ end }}Editor is loading...
Leave a Comment