A bit of templating

This commit is contained in:
Halfdan 2022-12-07 19:31:53 +01:00
parent 07cc9d1f09
commit 377b5547b6
2 changed files with 3 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<!doctype html>
<html lang="{{ .Language }}">
<html lang="{{ site.Language }}">
{{ partial "head.html" . }}
<body>
<aside>

View file

@ -2,6 +2,8 @@
<h1>{{ .Title | markdownify }}</h1>
{{ .Content }}
<table>
<tr>
@ -77,12 +79,5 @@
</table>
{{ .Content }}
<p>
<small class="text-secondary">
"{{ .Title }}" was last updated on {{ .Lastmod.Format "January 2, 2006" }}: {{ .GitInfo.Subject }} ({{ .GitInfo.AbbreviatedHash }})
</small>
{{ partial "tags" . }}
</p>
{{- end -}}