diff --git a/content/_index.md b/content/_index.md index 049eebc7b4..5f542d4510 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,6 @@ --- title: Istio +description: Connect, secure, control, and observe services. --- {{ end }} -
- -
+ {{ if .Site.Data.args.preliminary }}
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 5c3ec78d56..dd722fee7c 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -4,20 +4,23 @@ {{ if $page }} {{ $.Scratch.Add "urls" (slice $page.Permalink) }} {{ $.Scratch.Add "titles" (slice $page.LinkTitle) }} + {{ $.Scratch.Add "descriptions" (slice $page.Description) }} {{ $page = $page.Parent }} {{ end }} {{ end }} -{{ $len := len ($.Scratch.Get "titles") }} -{{ range $index, $element := $.Scratch.Get "titles" }} - {{ $i := sub (sub $len $index) 1 }} - {{ $title := index ($.Scratch.Get "titles") $i }} - {{ $url := index ($.Scratch.Get "urls") $i }} +
    + {{ $len := len ($.Scratch.Get "titles") }} + {{ range $index, $element := $.Scratch.Get "titles" }} + {{ $i := sub (sub $len $index) 1 }} + {{ $title := index ($.Scratch.Get "titles") $i }} + {{ $description := index ($.Scratch.Get "descriptions") $i }} + {{ $url := index ($.Scratch.Get "urls") $i }} - {{ if ne $i 0 }} - {{- $title -}} - / - {{ else }} - {{ $title }} + {{ if ne $i 0 }} +
  1. {{- $title -}}
  2. + {{ else }} +
  3. {{- $title -}}
  4. + {{ end }} {{ end }} -{{ end }} +
diff --git a/layouts/partials/primary_bottom.html b/layouts/partials/primary_bottom.html index 82af8d8e72..c1046bc7f8 100644 --- a/layouts/partials/primary_bottom.html +++ b/layouts/partials/primary_bottom.html @@ -4,22 +4,24 @@ {{ if .Scratch.Get "seeAlso" }} {{ $related := .Site.RegularPages.Related . | first 6 }} {{ with $related }} -

{{ i18n "see_also" }}

+ {{ end }} {{ end }} - + {{ if or .NextInSection .PrevInSection }} - + {{ end }} {{ end }} -
+ diff --git a/layouts/partials/primary_top.html b/layouts/partials/primary_top.html index 3ff3f54902..ccb5765691 100644 --- a/layouts/partials/primary_top.html +++ b/layouts/partials/primary_top.html @@ -2,9 +2,9 @@ {{ $needTOC := .Scratch.Get "needTOC" }} {{ if and $needTOC (ne .Params.force_inline_toc true) }} -
+
{{ else }} -
+
{{ end }}