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 }}
|
{{ $page := .Page }}
|
||||||
{{ $last := false }}
|
{{ $last := false }}
|
||||||
{{ $done := false }}
|
{{ $done := false }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Delete "urls" }}
|
||||||
|
{{ $.Scratch.Delete "titles" }}
|
||||||
|
{{ $.Scratch.Delete "descriptions" }}
|
||||||
|
|
||||||
{{ range $index := split $url "/" }}
|
{{ range $index := split $url "/" }}
|
||||||
{{ if $page }}
|
{{ if $page }}
|
||||||
{{ if not $done }}
|
{{ if not $done }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue