mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-25 18:22:09 +00:00
19d5fe2b00
Use partialCached to avoid any perf penalty. TODO: limit the scope I pass to them. I noticed a teeny tiny perf improvement after doing this, probably because now some giant data structures only need to be generated once.
15 lines
558 B
HTML
15 lines
558 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" . -}}
|
|
{{- end -}}
|
|
</header>
|
|
<hr />
|
|
<div class="e-content entry-content" itemprop="articleBody">
|
|
<meta itemprop="author" content="Rohan Kumar" />
|
|
<!--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>
|