mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-26 02:22:09 +00:00
15 lines
674 B
HTML
15 lines
674 B
HTML
{{- define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
{{- .Scratch.Set "codeIndex" 1 -}}
|
|
{{- .Scratch.Set "codeIndexAtom" 1 -}}
|
|
{{- .Scratch.Set "codeIndexRss" 1 -}}
|
|
<main
|
|
itemprop="mainEntity" itemscope="" itemtype="https://schema.org/BlogPosting{{ with .Params.articleType }} https://schema.org/{{ . }}{{ end }}" itemid="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}">
|
|
<link itemprop="isPartOf" href="{{ .Site.Params.CanonicalBaseURL }}/" />
|
|
<article class="h-entry hentry">
|
|
{{ partial "full-article.html" . }}
|
|
{{ partial "interact.html" . }}
|
|
</article>
|
|
</main>
|
|
{{ partial "prev-next.html" . -}}
|
|
{{- end }}
|