WIP: Add redirects in Netlify _redirects style using old guide

Uses this guide: https://honnef.co/articles/generating-netlify-_redirects-from-hugo/

I didn't realize until after doing all this that there's a guide for the
same thing in the official Hugo docs, so I'm about to migrate over to
that.
This commit is contained in:
2026-07-08 01:51:20 -05:00
parent a2a8e2c205
commit 2f6db565a9
2 changed files with 24 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{{ range hugo.Sites -}}
{{ range $p := .Pages -}}
{{ range .Aliases -}}
{{ . }} {{ $p.RelPermalink }}
{{ end -}}
{{ end -}}
{{ end -}}