mirror of https://github.com/istio/istio.io.git
Include redirects for static resources (#8209)
This commit is contained in:
parent
3b5cacbbe9
commit
07f51b347a
|
@ -38,6 +38,12 @@ https://istio.netlify.com/* https://istio.io/:splat 301!
|
|||
/downloadIstio https://raw.githubusercontent.com/istio/istio/master/release/downloadIstioCandidate.sh
|
||||
/downloadIstioctl https://raw.githubusercontent.com/istio/istio/master/release/downloadIstioCtl.sh
|
||||
|
||||
# Redirect static folder
|
||||
/img/* /latest/img/:splat
|
||||
/misc/* /latest/misc/:splat
|
||||
/talks/* /latest/talks/:splat
|
||||
/favicons/* /latest/favicons/:splat
|
||||
|
||||
# navigating to a page without /latest on front, add /latest
|
||||
{{ range $p := .Site.Pages }}
|
||||
{{ strings.TrimPrefix "/latest" $p.Permalink }} {{ $p.Permalink}}
|
||||
|
@ -52,4 +58,4 @@ https://istio.netlify.com/* https://istio.io/:splat 301!
|
|||
http://archive.istio.io/ http://istio.io/archive 301!
|
||||
http://archive.istio.io/* http://istio.io/:splat 301!
|
||||
https://archive.istio.io/ https://istio.io/archive 301!
|
||||
https://archive.istio.io/* https://istio.io/:splat 301!
|
||||
https://archive.istio.io/* https://istio.io/:splat 301!
|
||||
|
|
Loading…
Reference in New Issue