1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 14:16:20 -04:00
jarv.is/layouts/index.redirects

15 lines
428 B
Plaintext

# Prefer Netlify redirects over Hugo aliases
# https://www.netlify.com/docs/redirects/
{{ range $p := .Site.Pages -}}
{{- range .Aliases }}
{{- . | printf "%-35s" }} {{ $p.RelPermalink }} 301
{{ end -}}
{{- end }}
# Rewrite generated manifest.json to manifest.webmanifest
# https://github.com/w3c/manifest/issues/689
/manifest.webmanifest /manifest.json 200
/site.webmanifest /manifest.json 200