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> <!doctype html>
<html lang="{{ .Language }}"> <html lang="{{ site.Language }}">
{{ partial "head.html" . }} {{ partial "head.html" . }}
<body> <body>
<aside> <aside>

View File

@ -2,6 +2,8 @@
<h1>{{ .Title | markdownify }}</h1> <h1>{{ .Title | markdownify }}</h1>
{{ .Content }}
<table> <table>
<tr> <tr>
@ -77,12 +79,5 @@
</table> </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 -}} {{- end -}}