2022-01-30 18:03:56 +01:00
|
|
|
{{ define "main" }}
|
2022-02-05 16:04:26 +01:00
|
|
|
{{ .Scratch.Set "scope" "single" }}
|
2022-01-30 18:03:56 +01:00
|
|
|
<article>
|
|
|
|
<header>
|
2022-02-06 00:01:10 +01:00
|
|
|
<h1>
|
|
|
|
{{.Title}}
|
|
|
|
</h1>
|
|
|
|
<p>
|
|
|
|
{{ if .Date }} written {{ if .Params.Author }} by {{ .Params.Author }} {{ end }} on
|
|
|
|
<time>{{ .Date.Format "Jan 2, 2006" }}</time>{{ end }}
|
|
|
|
{{ if .Params.categories }}
|
|
|
|
in
|
|
|
|
{{ range .Params.categories }}
|
|
|
|
<a href="{{ $.Site.BaseURL }}categories/{{ . | urlize }}">{{ . | humanize }}</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
2022-01-30 18:03:56 +01:00
|
|
|
</header>
|
|
|
|
{{ .Content }}
|
|
|
|
</article>
|
|
|
|
{{ end }}
|