mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-07-15 19:21:21 +00:00
add _redirects
This commit is contained in:
parent
132b7eb9e1
commit
033e4ef4f2
2
layouts/index.redir
Normal file
2
layouts/index.redir
Normal file
@ -0,0 +1,2 @@
|
||||
{{ range $r := .Site.Pages }}{{if .Aliases}}{{ range $l := .Aliases }}
|
||||
{{ . }} {{ $r.Permalink }} 302{{ end }}{{ end }}{{ end }}
|
Loading…
Reference in New Issue
Block a user