mirror of https://github.com/docker/docs.git
release: fix go redirects
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
92bccbcf15
commit
6d9593a928
|
|
@ -10,4 +10,9 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- range $target, $aliases := site.Data.redirects -}}
|
||||||
|
{{- range $aliases }}
|
||||||
|
{{- $redirects.SetInMap "paths" . $target -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
{{ $redirects.Get "paths" | jsonify }}
|
{{ $redirects.Get "paths" | jsonify }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue