mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-24 05:02:10 +00:00
8 lines
376 B
HTML
8 lines
376 B
HTML
{{- define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
{{- .Scratch.Set "codeIndex" 1 -}}
|
|
<main itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting" itemid="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}">
|
|
{{ partial "full-article.html" . }}
|
|
{{ partial "webmentions.html" . }}
|
|
</main>
|
|
{{ end }}
|