From 60a233ce0ec92ca6c6ee17bc8abd054667880c98 Mon Sep 17 00:00:00 2001 From: lvuch Date: Wed, 25 Apr 2018 15:58:59 -0700 Subject: [PATCH] more tree fun and top level nav --- content/os/_index.md | 1 + content/rancher/_index.md | 1 + layouts/_default/list.html | 7 ++----- layouts/_default/single.html | 8 +++----- layouts/partials/docs-nav.html | 7 ++++--- layouts/partials/docs-side-nav.html | 8 +++----- src/sass/app.scss | 20 +------------------- 7 files changed, 15 insertions(+), 37 deletions(-) diff --git a/content/os/_index.md b/content/os/_index.md index 676c702fffb..b4e087f0188 100644 --- a/content/os/_index.md +++ b/content/os/_index.md @@ -1,5 +1,6 @@ --- title: RancherOS Documentation +shortTitle: RancherOS description: RancherOS is a simplified Linux distribution built from containers, for containers. These documents describe how to install and use RancherOS. weight: 1 --- diff --git a/content/rancher/_index.md b/content/rancher/_index.md index 4e8e7364c22..e005ada485e 100644 --- a/content/rancher/_index.md +++ b/content/rancher/_index.md @@ -1,5 +1,6 @@ --- title: Rancher 2.0 Documentation + shortTitle: Rancher 2.0 weight: 1 --- diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9ea877b7e6f..adae26a3482 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -17,15 +17,11 @@ {{ define "main" }}
- {{ partial "breadcrumbs.html" . }} - {{ partial "docs-nav.html" . }}
-
@@ -82,5 +78,6 @@ {{ template "_internal/pagination.html" . }}
+ {{ partial "breadcrumbs.html" . }}
{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 348d5518b59..c3be0eb5f09 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,16 +17,13 @@ {{ define "main" }}
- {{ partial "breadcrumbs.html" . }} {{ partial "docs-nav.html" . }}
- -
+
{{ .Content }} @@ -81,5 +78,6 @@ {{ template "_internal/pagination.html" . }}
+ {{ partial "breadcrumbs.html" . }}
{{ end }} diff --git a/layouts/partials/docs-nav.html b/layouts/partials/docs-nav.html index 1a1bb8e75ae..27bb1e6f209 100644 --- a/layouts/partials/docs-nav.html +++ b/layouts/partials/docs-nav.html @@ -4,7 +4,7 @@