mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-26 02:22:09 +00:00
2204ae8861
- Semantically link each blog posting to the greater blog - Fix copyright bullshit - Make some articles TechArticles - Remove unnecessary markup
10 lines
550 B
HTML
10 lines
550 B
HTML
{{- define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
{{- .Scratch.Set "codeIndex" 1 -}}
|
|
<main itemprop="hasPart" itemscope itemtype="https://schema.org/BlogPosting{{ if .Params.techarticle }} https://schema.org/TechArticle{{ end }}" 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 }}
|