19 lines
793 B
HTML
19 lines
793 B
HTML
{{ define "main" }}
|
|
<h1>{{ .Title }}</h1>
|
|
{{ if .Params.Subtitle }}<p class="subtitle">{{ .Params.Subtitle }}</p>{{ end }}
|
|
{{ if .Params.context }}
|
|
<p class="context">⬑ Reply to <a href="{{ .Params.context.url }}" class="u-in-reply-to">{{ .Params.context.title }}</a> by {{ .Params.context.author }}.</p>
|
|
{{ end }}
|
|
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
|
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
|
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
|
|
|
{{ with .Params.blurb }}
|
|
<p class="blurb">{{ . | markdownify }}</p>
|
|
{{ end }}
|
|
|
|
{{ if .Params.toc }}<aside>{{ .TableOfContents }}</aside>{{ end }}
|
|
{{ .Content }}
|
|
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
|
{{ end }}
|