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

14 lines
377 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