1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-17 22:32:10 +00:00
seirdy.one/layouts/partials/full-article.html
Rohan Kumar d3081ddc8a
Fix post-meta partial
Instead of scratch variables, pass an additional variable into the
template context
2024-03-18 17:56:02 -04:00

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>