1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00
seirdy.one/layouts/posts/single.html
Rohan Kumar cffa22e79e
Internal: re-org templates a bit
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.
2022-04-27 08:44:13 -07:00

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 }}