mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-15 14:03:19 +00:00
Make alias redirects relative
This commit is contained in:
@@ -5,6 +5,6 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ range $p := .Site.AllPages }}
|
{{ range $p := .Site.AllPages }}
|
||||||
{{- range .Aliases -}}
|
{{- range .Aliases -}}
|
||||||
{{ if hasPrefix . "." }}{{ urls.JoinPath $p.RelPermalink . }}{{ else }}{{ . }}{{ end }} {{ $p.Permalink }}
|
{{ if hasPrefix . "." }}{{ urls.JoinPath $p.RelPermalink . }}{{ else }}{{ . }}{{ end }} {{ $p.RelPermalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
Reference in New Issue
Block a user