mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-25 02:02: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.
7 lines
330 B
HTML
7 lines
330 B
HTML
{{ define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
<main id="main" tabindex="-1"
|
|
itemprop="mainEntity" itemscope="" itemtype="https://schema.org/Article" itemid="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}">
|
|
{{ partial "full-article.html" . }}
|
|
</main>
|
|
{{ end }}
|