Merge pull request #775 from james-d-elliott/fix-aliases

fix(layouts): index.redirects truncates newline
This commit is contained in:
Henk Verlinde 2022-06-21 16:54:54 +02:00 committed by GitHub
commit 9845b8206c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{{- range $p := .Site.Pages -}} {{- range $p := .Site.Pages -}}
{{- range .Aliases }} {{- range .Aliases }}
{{ . }} {{ $p.RelPermalink -}} {{ . }} {{ $p.RelPermalink }}
{{- end }}
{{- end }} {{- end }}
{{- end -}}
# /docs/1.0/prologue/ /docs/1.0/prologue/introduction/ # /docs/1.0/prologue/ /docs/1.0/prologue/introduction/
# /docs/1.0/help/ /docs/1.0/help/how-to-update/ # /docs/1.0/help/ /docs/1.0/help/how-to-update/