mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-30 15:22:09 +00:00
bf8aadf8bb
- Stop using symlinks for template files, since those seem to have broken. - Force int data type for scratchpad integers since type inference seems to have changed.
12 lines
562 B
HTML
12 lines
562 B
HTML
{{- define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
<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 }}
|