mirror of https://github.com/istio/istio.io.git
Fix unindenting in manually generated TOCs.
This commit is contained in:
parent
422e52d59a
commit
210cc87d6c
|
@ -20,7 +20,7 @@
|
|||
{{ if gt $level $current }}
|
||||
<ul>
|
||||
{{ else if lt $level $current }}
|
||||
{{ $delta := sub (sub ($page.Scratch.Get "level") $level) 1 }}
|
||||
{{ $delta := sub ($page.Scratch.Get "level") $level }}
|
||||
{{ range $index, $num := (seq $delta) }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue