This commit is contained in:
Luke Smith
2022-05-08 22:37:00 -04:00
parent dd78002586
commit e5645601a6
12 changed files with 47 additions and 26 deletions

View File

@@ -7,7 +7,7 @@
{{ range.Pages }}
<li>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 2" }}</time> &ndash;
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash;
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>

10
layouts/_default/tag.html Normal file
View File

@@ -0,0 +1,10 @@
{{ partial "header.html" . }}
<header><h1>{{ .Title | title }}</h1></header>
{{ .Content }}
<ul class=tagartlist>
{{ range.Pages }}<li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash; <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}</ul>
{{ partial "footer.html" . }}

View File

@@ -1,7 +0,0 @@
{{ partial "header.html" . }}
<header><h1>{{ .Title }}</h1></header>
{{ .Content }}
{{ partial "footer.html" . }}