hugo: remove unused redirect_from param from redirects tpl

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-08-14 09:15:46 +02:00
parent 3c2a202ea2
commit 1f3597eb35
1 changed files with 0 additions and 3 deletions

View File

@ -5,9 +5,6 @@
{{- range .Params.aliases -}}
{{ $redirects.SetInMap "paths" . $target }}
{{- end -}}
{{- range .Params.redirect_from -}}
{{ $redirects.SetInMap "paths" . $target }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- range $target, $aliases := site.Data.redirects -}}