mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-25 02:02:11 +00:00
36c049d0ef
Add a new "Interactions" section to my pages that contain both Syndication and Webmentions. Make the Syndication links u-syndication. Make both these things children of the <article> h-entry.
13 lines
597 B
HTML
13 lines
597 B
HTML
{{- define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
{{- .Scratch.Set "codeIndex" 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 }}
|