diff --git a/content/about/contribute/writing-a-new-topic/index.md b/content/about/contribute/writing-a-new-topic/index.md index 27d5bf4b79..7e92ac78ae 100644 --- a/content/about/contribute/writing-a-new-topic/index.md +++ b/content/about/contribute/writing-a-new-topic/index.md @@ -104,6 +104,7 @@ The available front matter fields are: |`skip_toc` | Set this to true to prevent the page from having a table of contents generated for it |`skip_seealso` | Set this to true to prevent the page from having a "See also" section generated for it |`force_inline_toc` | Set this to true to force the generated table of contents to be inserted inline in the text instead of in a sidebar +|`simple_list` | Set this to true to force a generated section page to use a simple list layout rather that a gallery layout There are a few more front matter fields available specifically for blog posts: @@ -112,7 +113,7 @@ There are a few more front matter fields available specifically for blog posts: |`publishdate` | Date of the post's original publication |`last_update` | Date when the post last received a major revision |`attribution` | Optional name of the post's author -|`twitter` | Optional Twitter of the post's author +|`twitter` | Optional Twitter handle of the post's author ## Adding images diff --git a/content/about/notes/_index.md b/content/about/notes/_index.md index fd82b6725f..6cd0414916 100644 --- a/content/about/notes/_index.md +++ b/content/about/notes/_index.md @@ -8,6 +8,7 @@ aliases: - /docs/welcome/notes/index.html - /docs/references/notes icon: notes +simple_list: true --- Check out our [release page](https://github.com/istio/istio/releases) to download Istio binaries. diff --git a/content/search/_index.md b/content/search/_index.md index aa96af8640..f94d796713 100644 --- a/content/search/_index.md +++ b/content/search/_index.md @@ -2,5 +2,5 @@ title: Search Results url: /search.html sidebar_none: true -toc: false +skip_toc: true --- diff --git a/content_zh/search/_index.md b/content_zh/search/_index.md index 71f6cd0286..8028cf3bcf 100644 --- a/content_zh/search/_index.md +++ b/content_zh/search/_index.md @@ -2,5 +2,5 @@ title: 搜索结果 url: /zh/search.html sidebar_none: true -toc: false +skip_toc: true --- diff --git a/layouts/_default/list.html b/layouts/_default/list.html index c67e536494..4868b793a9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -11,15 +11,26 @@ {{ $pages := (where .Site.Pages "Section" .Section).ByWeight }} {{ $parent := .Page }} - {{ range $pages }} - {{ if eq .Parent $parent }} -
-
- {{- if .Params.icon -}} - {{- partial "icon.html" .Params.icon -}}{{- end -}}{{- .Title -}} -
-

{{ .Description }}

-
+ + {{ if $parent.Params.simple_list }} + + {{ else }} + {{ range $pages }} + {{ if eq .Parent $parent }} +
+
+ {{- if .Params.icon -}} + {{- partial "icon.html" .Params.icon -}}{{- end -}}{{- .Title -}} +
+

{{ .Description }}

+
+ {{ end }} {{ end }} {{ end }}