mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-18 06:42:10 +00:00
0b6c265223
- Set "Articles" and "Notes" to "CollectionPage" - Set "About" to "AboutPage" and "ProfilePage" Since my "About" page now has two types, I had to alter the "stype" page property to require a full URL.
13 lines
544 B
HTML
13 lines
544 B
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{- default "" .Site.LanguageCode }}" xml:lang="{{- default "" .Site.LanguageCode }}" prefix="og: https://ogp.me/ns# article: https://ogp.me/ns/article# cc: http://creativecommons.org/ns#">
|
|
{{ partial "head.html" . -}}
|
|
{{- $stype := "https://schema.org/WebPage" -}}
|
|
{{- with .Params.stype -}}
|
|
{{- $stype = . -}}
|
|
{{- end -}}
|
|
<body itemscope="" itemtype="{{ $stype }}">
|
|
{{ partial "header.html" . -}}
|
|
{{- block "main" . }}{{- end -}}
|
|
{{ partial "footer.html" . }}
|
|
</body>
|
|
</html>
|