2023-05-31 13:35:32 -04:00
|
|
|
{{ define "title" }}
|
2023-07-15 20:10:41 -04:00
|
|
|
{{ .Title }} – {{ .Site.Title }}
|
2023-05-31 13:35:32 -04:00
|
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
2023-07-15 20:10:41 -04:00
|
|
|
<article>
|
|
|
|
<h1 class="display-3 text-center">{{ .Title }}</h1>
|
2023-07-24 23:54:51 -04:00
|
|
|
<p class="text-center"><time datetime="{{ .Date }}">{{ .Date.Format "2006-01-02" }}</time>
|
|
|
|
{{ if .Params.tags }}
|
|
|
|
|
|
|
|
|
{{range .Params.tags}}
|
|
|
|
<a class="btn btn-primary" href="/tags/{{ . | urlize }}" role="button">{{ . }}</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
{{ if .Params.categories }}
|
|
|
|
|
|
|
|
|
{{range .Params.categories}}
|
|
|
|
<a class="btn btn-secondary" href="/categories/{{ . | urlize }}" role="button">{{ . }}</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</p>
|
2023-07-15 20:10:41 -04:00
|
|
|
{{ .Content }}
|
|
|
|
</article>
|
2023-05-31 13:35:32 -04:00
|
|
|
{{ end }}
|
|
|
|
|