mirror of https://github.com/istio/istio.io.git
Fix bug causing the breadcrumbs to be duplicated when building the site locally. (#5859)
This commit is contained in:
parent
e545c0592d
commit
6e44017067
|
|
@ -2,6 +2,11 @@
|
|||
{{ $page := .Page }}
|
||||
{{ $last := false }}
|
||||
{{ $done := false }}
|
||||
|
||||
{{ $.Scratch.Delete "urls" }}
|
||||
{{ $.Scratch.Delete "titles" }}
|
||||
{{ $.Scratch.Delete "descriptions" }}
|
||||
|
||||
{{ range $index := split $url "/" }}
|
||||
{{ if $page }}
|
||||
{{ if not $done }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue