cleanup and variablization

This commit is contained in:
Luke Smith
2022-06-28 19:06:38 -04:00
parent f729985265
commit d3a6b31e4a
8 changed files with 40 additions and 55 deletions

View File

@@ -1,22 +1,14 @@
{{ partial "header.html" . }}
<header><h1>{{ .Title }}</h1></header>
<article>
{{ .Content }}
<ul>
{{ 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" . }}