mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 08:12:11 +00:00
297ad1e5cb
This one is simpler than the last attempt, since it doesn't overlap with any content except the navbar links' empty padding.
10 lines
484 B
HTML
10 lines
484 B
HTML
{{- define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
<main id="main" tabindex="-1"
|
|
itemprop="hasPart" itemscope="" itemtype="https://schema.org/SocialMediaPosting" itemid="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}">
|
|
<link itemprop="isPartOf" href="{{ .Site.Params.CanonicalBaseURL }}/" />
|
|
{{ partial "full-article.html" . }}
|
|
{{ partial "webmentions.html" . }}
|
|
</main>
|
|
{{ partial "prev-next.html" . -}}
|
|
{{- end }}
|