forked from data.coop/website
A bit of templating
This commit is contained in:
parent
07cc9d1f09
commit
377b5547b6
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<html lang="{{ .Language }}">
|
||||
<html lang="{{ site.Language }}">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<aside>
|
||||
|
|
|
@ -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 -}}
|
||||
|
|
Loading…
Reference in a new issue