1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 14:08:29 -04:00
jarv.is/layouts/index.headers

17 lines
508 B
Plaintext

# Cache static assets (webfonts, emojis, etc.) for a long time (1 month)
/vendor/*
Cache-Control: max-age=2628000
# Recommended MIME type for PWA manifests:
# https://github.com/w3c/manifest/issues/689
/site.webmanifest
Content-Type: application/manifest+json
# Set matching Onion-Location headers for each permalink
{{- range $page := .Site.Pages }}
{{- range .AlternativeOutputFormats }}
{{ .RelPermalink }}
Onion-Location: {{ $.Site.Params.baseOnionURL }}{{ .RelPermalink }}
{{ end -}}
{{ end -}}