mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 01:32:11 +00:00
cffa22e79e
Split up some verbose and repetitive templates to use nested templates. Cache some templates that don't need to be re-built every time. Reading time: switch "a" to "an" when followed by the number "8". Improve whitespace alignment a bit.
7 lines
238 B
HTML
7 lines
238 B
HTML
{{- define "main" -}}
|
|
{{- .Scratch.Set "codeIndex" 1 -}}
|
|
<main itemprop="blogPost mainEntity" itemscope itemtype="https://schema.org/BlogPosting">
|
|
{{ partial "full-article.html" . }}
|
|
{{ partial "webmentions.html" . }}
|
|
</main>
|
|
{{ end }}
|