This commit is contained in:
Luke Smith
2022-05-26 20:46:49 -04:00
parent e492c397c3
commit 732534b367
4 changed files with 18 additions and 4 deletions

View File

@@ -2,8 +2,11 @@
<header><h1>{{ .Title }}</h1></header>
<article>
{{ .Content }}
<ul>
{{ range.Pages }}
<li>
@@ -12,5 +15,8 @@
</li>
{{ end }}
</ul>
</article>
{{ partial "footer.html" . }}

View File

@@ -2,6 +2,10 @@
<header><h1>{{ .Title }}</h1></header>
<article>
{{ .Content }}
</article>
{{ partial "footer.html" . }}

View File

@@ -1,10 +1,14 @@
{{ partial "header.html" . }}
<header><h1>{{ .Title | title }}</h1></header>
<header><h1 id="tag_{{ .Title }}">{{ .Title | title }}</h1></header>
<article>
{{ .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>
</article>
{{ partial "footer.html" . }}