fix(layouts): index.redirects truncates newline
This fixes an issue where the generation of aliases may remove newlines erroneously moving subsequent lines to the same line as the last alias or otherwise mangle the output.
This commit is contained in:
parent
cf51ea887d
commit
5ce5220826
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue