{{ define "main" }}

<h1>{{ .Title }}</h1>
<p>
	&#8226; Published on
	<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
	{{ .Date.Format "Jan 02, 2006" }}
</time>
{{ if .Lastmod }}{{ if not (eq .Lastmod .Date )}}
	<i>
		(<b>updated</b> {{ dateFormat "2006-01-02" .Lastmod.Local }})
	</i>
{{ end }}{{ end }}

{{ with .Page.Params.Authors }}
{{ partial "taxonomy-authors.html" . -}}
{{ end }}
</p>

<content>
	{{ .Content }}
</content>

<p>
	<b>Tags:</b>
	{{ range (.GetTerms "tags") }}
	<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
	{{ end }}
</p>

{{ partial "fedi-comments" . }}

{{ if $.Site.Params.openring }}
{{ partial "openring-out" . -}}
{{ end }}

<a href="#"><button class="top">Back to top</button></a>

{{ end }}