mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 09:42:09 +00:00
d3081ddc8a
Instead of scratch variables, pass an additional variable into the template context
14 lines
540 B
HTML
14 lines
540 B
HTML
<header>
|
|
<h1 itemprop="name headline" class="p-name entry-title" id="h1" tabindex="-1">{{ .Title }}</h1>
|
|
{{- if not .Params.disableMeta -}}
|
|
{{- partial "post-meta/post-meta.html" (dict "context" . "isList" false) -}}
|
|
{{- end -}}
|
|
</header>
|
|
<hr />
|
|
<div class="e-content entry-content" itemprop="articleBody">
|
|
<!--That was needed bc some reading modes get confused by other authors referenced in the text-->
|
|
{{- if .Params.replyURI -}}
|
|
{{- partial "reply-context" .Params -}}
|
|
{{- end -}}
|
|
{{- partial "processed-content" . -}}
|
|
</div>
|