mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 23:50:30 -04:00
TODO: Potential bug report w/ live server -- .Page.Scratch is only detected on first run, breaks after any changes trigger rebuild. Might be flaky on real builds too, will investigate.
29 lines
1.0 KiB
HTML
29 lines
1.0 KiB
HTML
{{ partial "head/meta" . -}}
|
|
{{ partial "functions/social-images" . -}}
|
|
{{ partial "head/open-graph" . -}}
|
|
{{ partialCached "head/mobile" . -}}
|
|
{{ partial "head/preload" . -}}
|
|
{{ partialCached "head/styles" . -}}
|
|
{{ partialCached "head/favicons" (dict "pngSizes" "192 48 32 16" "icoSizes" "16 32 48") -}}
|
|
<link rel="manifest" href="{{ "site.webmanifest" | absURL }}">
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
<link rel="alternate" type="application/rss+xml" href="{{ "feed.xml" | absURL }}" title="{{ .Site.Title }} (RSS)">
|
|
{{ partialCached "head/webmention" . -}}
|
|
<link rel="author" href="{{ "humans.txt" | absURL }}">
|
|
{{ if and .IsPage (eq .Type "notes") }}
|
|
{{- with .OutputFormats.Get "amp" -}}
|
|
<link rel="amphtml" href="{{ .Permalink }}">
|
|
{{- end }}
|
|
{{ partial "head/schema-person" . }}
|
|
{{ partial "head/schema-article" . }}
|
|
{{ else }}
|
|
{{ partial "head/schema-person" . }}
|
|
{{ end -}}
|
|
|
|
{{/* Page-specific styles set via page-css shortcode */}}
|
|
{{- with .Page.Scratch.Get "css" }}
|
|
<style>
|
|
{{- . | safeCSS -}}
|
|
</style>
|
|
{{ end -}}
|