This commit is contained in:
2020-07-15 23:03:36 +01:00
parent 4c7b7b479d
commit d2d730f7c5
3 changed files with 5 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
{{ define "main" }}
<article>
<h1 style="padding-top: 2em; padding-bottom: 1em;">{{ .Title }}</h1>
<p>Tags:
<h1 style="padding-top: 1em;">{{ .Title }}</h1>
<p style="padding-bottom: 1em;">Tags:
{{ range (.GetTerms "categories") }}
<a href="{{ .Permalink }}" style="background: black; border-radius: 0.5em; padding: 0.5em; margin: 0.4em">{{ .LinkTitle }}</a>
<a href="{{ .Permalink }}" style="background: #202226; border-radius: 0.3em; padding: 0.4em; margin: 0.1em">{{ .LinkTitle }}</a>
{{ end }}</p>
{{.Content}}
<small>Published on {{ .Date.Format "2006-01-02" }}</small>