From 7d13c768813ad5a8a90226e78423f14cbeea6027 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Fri, 27 Oct 2023 22:14:37 -0500 Subject: [PATCH] Styles, colors, and css, oh my! Signed-off-by: Lee Calcote --- assets/scss/_navbar.scss | 6 + assets/scss/_pageinfo.scss | 16 + assets/scss/_sidebar-toc.scss | 68 ++++ assets/scss/_sidebar-tree.scss | 178 +++++++++ assets/scss/_taxonomy.scss | 345 ++++++++++++++++++ assets/scss/_variables_project.scss | 99 ++++- content/en/{docs => Cloud}/Concepts/_index.md | 0 .../Contribution guidelines/_index.md | 0 content/en/{docs => Cloud}/Examples/_index.md | 0 .../{docs => Cloud}/Getting started/_index.md | 0 .../Getting started/example-page.md | 0 .../Identity/Ponycopters/_index.md | 0 .../Ponycopters/configuring-ponycopters.md | 0 .../Ponycopters/launching-ponycopters.md | 0 content/en/{docs => Cloud}/Identity/_index.md | 0 content/en/{docs => Cloud}/Identity/beds.md | 0 .../en/{docs => Cloud}/Identity/porridge.md | 0 content/en/{docs => Cloud}/Identity/task.md | 0 content/en/{docs => Cloud}/Overview/_index.md | 0 .../en/{docs => Cloud}/Reference/_index.md | 0 .../Reference/parameter-reference.md | 0 .../Tasks/Ponycopters/_index.md | 0 .../Ponycopters/configuring-ponycopters.md | 0 .../Ponycopters/launching-ponycopters.md | 0 content/en/{docs => Cloud}/Tasks/_index.md | 0 content/en/{docs => Cloud}/Tasks/beds.md | 0 content/en/{docs => Cloud}/Tasks/porridge.md | 0 content/en/{docs => Cloud}/Tasks/task.md | 0 .../en/{docs => Cloud}/Tutorials/_index.md | 0 .../{docs => Cloud}/Tutorials/multi-bear.md | 0 .../en/{docs => Cloud}/Tutorials/tutorial2.md | 0 content/en/{docs => Cloud}/_index.md | 3 +- content/en/meshmap/Concepts/_index.md | 2 +- content/en/meshmap/_index.md | 1 + layouts/_default/baseof.html | 18 + layouts/_default/list.html | 11 + layouts/docs/baseof.html | 32 ++ layouts/home.html | 5 + layouts/partials/navbar.html | 66 ++++ 39 files changed, 847 insertions(+), 3 deletions(-) create mode 100644 assets/scss/_navbar.scss create mode 100644 assets/scss/_pageinfo.scss create mode 100644 assets/scss/_sidebar-toc.scss create mode 100644 assets/scss/_sidebar-tree.scss create mode 100644 assets/scss/_taxonomy.scss rename content/en/{docs => Cloud}/Concepts/_index.md (100%) rename content/en/{docs => Cloud}/Contribution guidelines/_index.md (100%) rename content/en/{docs => Cloud}/Examples/_index.md (100%) rename content/en/{docs => Cloud}/Getting started/_index.md (100%) rename content/en/{docs => Cloud}/Getting started/example-page.md (100%) rename content/en/{docs => Cloud}/Identity/Ponycopters/_index.md (100%) rename content/en/{docs => Cloud}/Identity/Ponycopters/configuring-ponycopters.md (100%) rename content/en/{docs => Cloud}/Identity/Ponycopters/launching-ponycopters.md (100%) rename content/en/{docs => Cloud}/Identity/_index.md (100%) rename content/en/{docs => Cloud}/Identity/beds.md (100%) rename content/en/{docs => Cloud}/Identity/porridge.md (100%) rename content/en/{docs => Cloud}/Identity/task.md (100%) rename content/en/{docs => Cloud}/Overview/_index.md (100%) rename content/en/{docs => Cloud}/Reference/_index.md (100%) rename content/en/{docs => Cloud}/Reference/parameter-reference.md (100%) rename content/en/{docs => Cloud}/Tasks/Ponycopters/_index.md (100%) rename content/en/{docs => Cloud}/Tasks/Ponycopters/configuring-ponycopters.md (100%) rename content/en/{docs => Cloud}/Tasks/Ponycopters/launching-ponycopters.md (100%) rename content/en/{docs => Cloud}/Tasks/_index.md (100%) rename content/en/{docs => Cloud}/Tasks/beds.md (100%) rename content/en/{docs => Cloud}/Tasks/porridge.md (100%) rename content/en/{docs => Cloud}/Tasks/task.md (100%) rename content/en/{docs => Cloud}/Tutorials/_index.md (100%) rename content/en/{docs => Cloud}/Tutorials/multi-bear.md (100%) rename content/en/{docs => Cloud}/Tutorials/tutorial2.md (100%) rename content/en/{docs => Cloud}/_index.md (97%) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/docs/baseof.html create mode 100644 layouts/home.html create mode 100644 layouts/partials/navbar.html diff --git a/assets/scss/_navbar.scss b/assets/scss/_navbar.scss new file mode 100644 index 00000000..5ac37331 --- /dev/null +++ b/assets/scss/_navbar.scss @@ -0,0 +1,6 @@ +$navbar-light: #fff; +$td-navbar__background: #fff; +$navbar-dark: red; +$navbar-bg-dark: #fff; +$navbar-dark: pink; +$bg-dark: yellow; \ No newline at end of file diff --git a/assets/scss/_pageinfo.scss b/assets/scss/_pageinfo.scss new file mode 100644 index 00000000..c78ae549 --- /dev/null +++ b/assets/scss/_pageinfo.scss @@ -0,0 +1,16 @@ +.pageinfo { + font-weight: $font-weight-medium; + background: $gray-900; + color: inherit; + border-radius: 0; + margin: 2rem; + padding: 1.5rem; + padding-bottom: 0.5rem; + + @each $color, $value in $theme-colors { + &-#{$color} { + border-style: solid; + border-color: $value; + } + } + } \ No newline at end of file diff --git a/assets/scss/_sidebar-toc.scss b/assets/scss/_sidebar-toc.scss new file mode 100644 index 00000000..5085a0c6 --- /dev/null +++ b/assets/scss/_sidebar-toc.scss @@ -0,0 +1,68 @@ +// +// Right side toc +// +.td-sidebar-toc { + border-left: 1px solid $border-color; + background-color: $td-sidebar-toc-bg-color; + @supports (position: sticky) { + position: sticky; + top: 4rem; + height: calc(100vh - 4rem); + overflow-y: auto; + } + + order: 2; + padding-top: 0.75rem; + padding-bottom: 1.5rem; + vertical-align: top; + } + + .td-page-meta { + a { + display: block; + color: $gray-400; + line-height: 1.65rem; + font-weight: $font-weight-medium; + + &:hover { + color: $white; + text-decoration: none; + } + } + } + + .td-toc { + a { + display: block; + font-weight: $font-weight-light; + padding-bottom: 0.25rem; + } + + li { + list-style: none; + display: block; + } + + li li { + margin-left: 0.5rem; + } + + #TableOfContents { + // Hugo's ToC is a mouthful, this can be used to style the top level h2 entries. + > ul > li > ul > li > a { + } + + a { + + + &:hover { + color: $white; + text-decoration: none; + } + } + } + + ul { + padding-left: 0; + } + } \ No newline at end of file diff --git a/assets/scss/_sidebar-tree.scss b/assets/scss/_sidebar-tree.scss new file mode 100644 index 00000000..8196854d --- /dev/null +++ b/assets/scss/_sidebar-tree.scss @@ -0,0 +1,178 @@ +// +// Left side navigation +// +.td-sidebar-nav { + $_max-height: calc(100vh - 8.5rem); + + padding-right: 0.5rem; + margin-right: -15px; + margin-left: -15px; + + @include media-breakpoint-up(md) { + @supports (position: sticky) { + max-height: $_max-height; + overflow-y: auto; + } + } + + // Adjust height and padding when sidebar_search_disable is true, but only for + // >= `lg` views, because on tablet (`md`) and mobile (<= `sm`), the search + // box is displayed regardless of the value of sidebar_search_disable: + &.td-sidebar-nav--search-disabled { + @include media-breakpoint-up(lg) { + // There's no search box so add top padding + // and adjust max-height: + padding-top: 1rem; + + @supports (position: sticky) { + max-height: calc(#{$_max-height} + 4.5rem); + } + } + } + + @include media-breakpoint-up(md) { + display: block !important; + } + + &__section { + li { + list-style: none; + } + + &.ul-0, ul { + padding: 0; + margin: 0; + } + + @include media-breakpoint-up(md) { + & .ul-1 ul { + padding-left: 1.5em; + } + } + + padding-left: 0; + } + + &__section-title { + display: block; + font-weight: $font-weight-medium; + + .active { + font-weight: $font-weight-bold; + } + + a { + color: $primary; + } + } + + .td-sidebar-link { + display: block; + padding-bottom: 0.375rem; + + &__page { + color: $gray-400; + font-weight: $font-weight-light; + } + } + + a { + &:hover { + color: $white; + text-decoration: none; + } + + &.active { + font-weight: $font-weight-bold; + } + } + + .dropdown { + a { + color: $gray-700; + } + + .nav-link { + padding: 0 0 1rem; + } + } + + & > .td-sidebar-nav__section { + padding-left: 1.5rem; + } + + li i { + // Layout of icons + padding-right: 0.5em; + &:before { + display: inline-block; + text-align: center; + min-width: 1em; + } + } + + .td-sidebar-link.tree-root { + font-weight: $font-weight-bold; + color: $td-sidebar-tree-root-color; + border-bottom: 1px $td-sidebar-tree-root-color solid; + margin-bottom: 1rem; + } + } + + .td-sidebar { + @include media-breakpoint-up(md) { + padding-top: 4rem; + background-color: $td-sidebar-bg-color; + padding-right: 1rem; + border-right: 1px solid $td-sidebar-border-color; + } + + padding-bottom: 1rem; + + &__toggle { + line-height: 1; + color: $gray-900; + margin: 1rem; + } + + &__search { + padding: 1rem 0; + } + + &__inner { + order: 0; + + @include media-breakpoint-up(md) { + @supports (position: sticky) { + position: sticky; + top: 4rem; + z-index: 10; + height: calc(100vh - 5rem); + } + } + + @include media-breakpoint-up(xl) { + flex: 0 1 320px; + } + + .td-search-box { + width: 100%; + } + } + + #content-desktop { + display: block; + } + #content-mobile { + display: none; + } + + @include media-breakpoint-down(lg) { + #content-desktop { + display: none; + } + #content-mobile { + display: block; + } + } + } \ No newline at end of file diff --git a/assets/scss/_taxonomy.scss b/assets/scss/_taxonomy.scss new file mode 100644 index 00000000..a2a1b291 --- /dev/null +++ b/assets/scss/_taxonomy.scss @@ -0,0 +1,345 @@ + +// Taxonomies - e.g. Tags, Categories, ... + +.taxonomy-terms-article { + width: 100%; + clear: both; + font-size: 0.8rem; + + .taxonomy-title { + display: inline; + font-size: 1.25em; + height: 1em; + line-height: 1em; + margin-right: 0.5em; + padding: 0; + } + } + + .taxonomy-terms-cloud { + width: 100%; + clear: both; + font-size: 0.8rem; + + .taxonomy-title { + display: inline-block; + width: 100%; + font-size: 1rem; + font-weight: 700; + color: $gray-500; + border-bottom: 1px rgba($primary, .33) solid; + margin-bottom: 1em; + padding-bottom: 0.375rem; + margin-top: 1em; + } + } + + .taxonomy-terms-page { + max-width: 800px; + margin: auto; + + h1 { + margin-bottom: 1em; + } + + .taxonomy-terms-cloud { + font-size: 1em; + + li { + display: block; + } + } + + .taxo-text-tags { + li + li::before { + content: none; + } + } + + .taxo-fruits { + .taxonomy-count, + .taxonomy-label { + display: inherit; + font-size: 1rem; + margin: 0; + padding: 0; + padding-right: 0.5em; + } + + .taxonomy-count::before { + content: "("; + } + .taxonomy-count::after { + content: ")"; + } + } + } + + .taxonomy-terms { + list-style: none; + margin: 0; + overflow: hidden; + padding: 0; + display: inline; + + li { + // https://stackoverflow.com/questions/3247358/how-do-i-wrap-text-with-no-whitespace-inside-a-td + display: inline; + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + word-break: break-all; + word-break: break-word; + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; + } + } + + .taxonomy-count { + font-size: 0.8em; + line-height: 1.25em; + display: inline-block; + padding-left: 0.6em; + padding-right: 0.6em; + margin-left: 0.6em; + text-align: center; + border-radius: 1em; + background-color: $white; + } + + .taxonomy-term { + background: $gray-200; + border-width: 0; + border-radius: 0 3px 3px 0; + color: $gray-600; + display: inline-block; + font-size: 1em; + line-height: 1.5em; + min-height: 1.5em; + max-width: 100%; + padding: 0 0.5em 0 1em; + position: relative; + margin: 0 0.5em 0.2em 0; + text-decoration: none; + -webkit-transition: color 0.2s; + -webkit-clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0); + clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0); + + &:hover { + background-color: $primary; + color: $white; + + .taxonomy-count { + color: $dark !important; + } + } + + &:hover::before { + background: $primary; + } + } + + // Example for simple tags layout + .taxo-text-tags { + .taxonomy-term { + background: none; + border-width: 0; + border-radius: 0; + color: $gray-600; + font-size: 1em; + line-height: 1.5em; + min-height: 1.5em; + max-width: 100%; + padding: 0; + position: relative; + margin: 0; + text-decoration: none; + -webkit-clip-path: none; + clip-path: none; + + &:hover { + background: none; + color: $link-color; + + .taxonomy-count { + color: $dark !important; + } + } + + &:hover::before { + background: none; + } + } + + li + li::before { + content: "|"; + color: $gray-600; + margin-right: 0.2em; + } + + .taxonomy-count { + font-size: 1em; + line-height: 1.25em; + display: inline-block; + padding: 0; + margin: 0; + text-align: center; + border-radius: 0; + background: none; + vertical-align: super; + font-size: 0.75em; + } + + .taxonomy-term:hover .taxonomy-count { + color: $link-color !important; + } + } + + // Example for icon tags + .taxo-fruits { + .taxonomy-term[data-taxonomy-term]::before { + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + font-family: $font-awesome-font-name; + // font-weight: 900; + padding-right: 0.5em; + font-size: 2em; + min-width: 1.5em; + display: inline-block; + } + + .taxonomy-term[data-taxonomy-term="apple"]::before { + content: "\f5d1"; + color: red; + } + + .taxonomy-term[data-taxonomy-term="carrot"]::before { + content: "\f787"; + color: orange; + } + + .taxonomy-term[data-taxonomy-term="lemon"]::before { + content: "\f094"; + color: limegreen; + } + + .taxonomy-term[data-taxonomy-term="pepper"]::before { + content: "\f816"; + color: darkred; + } + + .taxonomy-term { + background: none; + border-width: 0; + border-radius: 0; + color: $gray-600; + font-size: 1em; + line-height: 2.5em; + max-width: 100%; + padding: 0; + position: relative; + margin: 0; + text-decoration: none; + -webkit-clip-path: none; + clip-path: none; + + &:hover { + background: none; + color: $link-color; + + .taxonomy-count { + color: $dark !important; + } + } + + &:hover::before { + background: none; + text-shadow: 0 0 3px $gray-900; + } + } + + .taxonomy-count, + .taxonomy-label { + display: none; + } + + &.taxonomy-terms-article { + margin-bottom: 1rem; + + .taxonomy-title { + display: none; + } + } + } + + .taxonomy-taxonomy-page { + max-width: 800px; + margin: auto; + + h1 { + margin-bottom: 1em; + } + } + + .article-meta { + margin-bottom: 1.5rem; + } + + .article-teaser.article-type-docs h3 a:before { + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + font-family: $font-awesome-font-name; + content: "\f02d"; + padding-right: 0.5em; + } + + .article-teaser.article-type-blog h3 a:before { + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + font-family: $font-awesome-font-name; + content: "\f781"; + padding-right: 0.5em; + } + + .all-taxonomy-terms { + font-weight: 500; + line-height: 1.2; + font-size: 1.5rem; + + &:before { + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + font-family: $font-awesome-font-name; + content: "\f122"; + padding-right: 0.5em; + } + } + + .article-teaser { + &.card { + padding: 1em; + margin-bottom: 1.5em; + } + + .breadcrumb { + margin-bottom: 0em; + font-size: 0.85rem; + } + + .article-meta { + margin-bottom: 0em; + } + } \ No newline at end of file diff --git a/assets/scss/_variables_project.scss b/assets/scss/_variables_project.scss index b8ed10d8..b1dda7db 100644 --- a/assets/scss/_variables_project.scss +++ b/assets/scss/_variables_project.scss @@ -1,3 +1,100 @@ +// Bootstrap options + +$enable-gradients: true !default; +$enable-shadows: true !default; + +// Theme colors + $primary: #00B39F; +$green: #00B39F; $secondary: #00D3A9; -$a-color: #00D3A9; \ No newline at end of file + +$success: #3772ff !default; +$info: #c0e0de !default; +$warning: #ed6a5a !default; +$danger: #ed6a5a !default; +$light: #d3f3ee; +$dark: #1E2117; + +// $bg-gradient:#1E2117; +$code-color: shade-color($secondary, 40%) !default; +// $body-bg: linear-gradient(250deg, #477e96 0%, #00b39f 35%, rgb(60, 73, 79) 100%); +// $bg-gradient-dark: linear-gradient(250deg, #477e96 0%, #00b39f 35%, rgb(60, 73, 79) 100%); +$body-color: #ccc; +$body-bg: #010101; + +// UI element colors + +$border-color: rgba($primary, .33); +$td-sidebar-tree-root-color: #ccc; +$td-sidebar-bg-color: rgba($dark, .33); +$td-sidebar-color: rgba($white, .33); +$td-sidebar-border-color: $border-color; +$td-sidebar-bg-color: rgba($dark,.73); +$td-sidebar-toc-bg-color: rgba($dark,.73); + +// Background colors for the sections on home page etc. It is a paint by number +// system, starting at 0, where the number is taken from the shortcode's ordinal +// if not provided by the user. These colors are all part of the theme palette, +// but the mix is fairly random to create variation. This can be overridden by +// the project if needed. +$td-box-colors: $dark, $primary, $secondary, $info, $white, $gray-600, $success, + $warning, $dark, $danger, $primary, $secondary, $info !default; + +$link-color: $danger; +$link-decoration: none !default; +$link-shade-percentage: 30% !default; + +// Fonts + +$td-enable-google-fonts: true !default; + +$google_font_name: "Open Sans" !default; +$google_font_family: "Open+Sans:300,300i,400,400i,700,700i" !default; +$web-font-path: "https://fonts.googleapis.com/css?family=#{$google_font_family}&display=swap"; +$font-awesome-font-name: "Font Awesome 6 Free" !default; + +$td-fonts-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", + "Segoe UI Symbol"; + +@if $td-enable-google-fonts { + $td-fonts-serif: prepend($td-fonts-serif, "#{$google_font_name}"); +} + +$font-family-sans-serif: $td-fonts-serif !default; // TODO: consider moving into UG SCSS or namespace the var (td-) + +$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, + "Liberation Mono", "Courier New", monospace !default; // TODO: consider moving into UG SCSS or namespace the var (td-) +$font-family-base: $font-family-sans-serif !default; // TODO: consider moving into UG SCSS or namespace the var (td-) + +// Font weights + +$font-weight-medium: 500 !default; // TODO: move into var forward file after upgrading BS to v5.3+ + +$font-weight-body-text: $font-weight-normal !default; + +// Heading sizes + +$h3-font-size: $font-size-base * 1.5 !default; // TODO: consider using BS default (* 1.75), or moving into UG SCSS +$h4-font-size: $font-size-base * 1.35 !default; // TODO: consider using BS default (* 1.5), or moving into UG SCSS +$h5-font-size: $font-size-base * 1.15 !default; // TODO: consider using BS default (* 1.25), or moving into UG SCSS + +// Space + +$td-block-space-top-base: 4 * $spacer !default; +$td-block-space-bottom-base: 4 * $spacer !default; + +// Pagination + +$pagination-color: $gray-600 !default; // TODO: consider using BS default +$pagination-disabled-color: $gray-300 !default; // TODO: consider using BS default + +// Navbar + +$navbar-dark-color: rgba($white, 0.75) !default; // TODO: consider moving into UG SCSS +$navbar-dark-hover-color: rgba($white, 0.35) !default; // TODO: consider moving into UG SCSS + +// Footer + +$list-inline-padding: $spacer; \ No newline at end of file diff --git a/content/en/docs/Concepts/_index.md b/content/en/Cloud/Concepts/_index.md similarity index 100% rename from content/en/docs/Concepts/_index.md rename to content/en/Cloud/Concepts/_index.md diff --git a/content/en/docs/Contribution guidelines/_index.md b/content/en/Cloud/Contribution guidelines/_index.md similarity index 100% rename from content/en/docs/Contribution guidelines/_index.md rename to content/en/Cloud/Contribution guidelines/_index.md diff --git a/content/en/docs/Examples/_index.md b/content/en/Cloud/Examples/_index.md similarity index 100% rename from content/en/docs/Examples/_index.md rename to content/en/Cloud/Examples/_index.md diff --git a/content/en/docs/Getting started/_index.md b/content/en/Cloud/Getting started/_index.md similarity index 100% rename from content/en/docs/Getting started/_index.md rename to content/en/Cloud/Getting started/_index.md diff --git a/content/en/docs/Getting started/example-page.md b/content/en/Cloud/Getting started/example-page.md similarity index 100% rename from content/en/docs/Getting started/example-page.md rename to content/en/Cloud/Getting started/example-page.md diff --git a/content/en/docs/Identity/Ponycopters/_index.md b/content/en/Cloud/Identity/Ponycopters/_index.md similarity index 100% rename from content/en/docs/Identity/Ponycopters/_index.md rename to content/en/Cloud/Identity/Ponycopters/_index.md diff --git a/content/en/docs/Identity/Ponycopters/configuring-ponycopters.md b/content/en/Cloud/Identity/Ponycopters/configuring-ponycopters.md similarity index 100% rename from content/en/docs/Identity/Ponycopters/configuring-ponycopters.md rename to content/en/Cloud/Identity/Ponycopters/configuring-ponycopters.md diff --git a/content/en/docs/Identity/Ponycopters/launching-ponycopters.md b/content/en/Cloud/Identity/Ponycopters/launching-ponycopters.md similarity index 100% rename from content/en/docs/Identity/Ponycopters/launching-ponycopters.md rename to content/en/Cloud/Identity/Ponycopters/launching-ponycopters.md diff --git a/content/en/docs/Identity/_index.md b/content/en/Cloud/Identity/_index.md similarity index 100% rename from content/en/docs/Identity/_index.md rename to content/en/Cloud/Identity/_index.md diff --git a/content/en/docs/Identity/beds.md b/content/en/Cloud/Identity/beds.md similarity index 100% rename from content/en/docs/Identity/beds.md rename to content/en/Cloud/Identity/beds.md diff --git a/content/en/docs/Identity/porridge.md b/content/en/Cloud/Identity/porridge.md similarity index 100% rename from content/en/docs/Identity/porridge.md rename to content/en/Cloud/Identity/porridge.md diff --git a/content/en/docs/Identity/task.md b/content/en/Cloud/Identity/task.md similarity index 100% rename from content/en/docs/Identity/task.md rename to content/en/Cloud/Identity/task.md diff --git a/content/en/docs/Overview/_index.md b/content/en/Cloud/Overview/_index.md similarity index 100% rename from content/en/docs/Overview/_index.md rename to content/en/Cloud/Overview/_index.md diff --git a/content/en/docs/Reference/_index.md b/content/en/Cloud/Reference/_index.md similarity index 100% rename from content/en/docs/Reference/_index.md rename to content/en/Cloud/Reference/_index.md diff --git a/content/en/docs/Reference/parameter-reference.md b/content/en/Cloud/Reference/parameter-reference.md similarity index 100% rename from content/en/docs/Reference/parameter-reference.md rename to content/en/Cloud/Reference/parameter-reference.md diff --git a/content/en/docs/Tasks/Ponycopters/_index.md b/content/en/Cloud/Tasks/Ponycopters/_index.md similarity index 100% rename from content/en/docs/Tasks/Ponycopters/_index.md rename to content/en/Cloud/Tasks/Ponycopters/_index.md diff --git a/content/en/docs/Tasks/Ponycopters/configuring-ponycopters.md b/content/en/Cloud/Tasks/Ponycopters/configuring-ponycopters.md similarity index 100% rename from content/en/docs/Tasks/Ponycopters/configuring-ponycopters.md rename to content/en/Cloud/Tasks/Ponycopters/configuring-ponycopters.md diff --git a/content/en/docs/Tasks/Ponycopters/launching-ponycopters.md b/content/en/Cloud/Tasks/Ponycopters/launching-ponycopters.md similarity index 100% rename from content/en/docs/Tasks/Ponycopters/launching-ponycopters.md rename to content/en/Cloud/Tasks/Ponycopters/launching-ponycopters.md diff --git a/content/en/docs/Tasks/_index.md b/content/en/Cloud/Tasks/_index.md similarity index 100% rename from content/en/docs/Tasks/_index.md rename to content/en/Cloud/Tasks/_index.md diff --git a/content/en/docs/Tasks/beds.md b/content/en/Cloud/Tasks/beds.md similarity index 100% rename from content/en/docs/Tasks/beds.md rename to content/en/Cloud/Tasks/beds.md diff --git a/content/en/docs/Tasks/porridge.md b/content/en/Cloud/Tasks/porridge.md similarity index 100% rename from content/en/docs/Tasks/porridge.md rename to content/en/Cloud/Tasks/porridge.md diff --git a/content/en/docs/Tasks/task.md b/content/en/Cloud/Tasks/task.md similarity index 100% rename from content/en/docs/Tasks/task.md rename to content/en/Cloud/Tasks/task.md diff --git a/content/en/docs/Tutorials/_index.md b/content/en/Cloud/Tutorials/_index.md similarity index 100% rename from content/en/docs/Tutorials/_index.md rename to content/en/Cloud/Tutorials/_index.md diff --git a/content/en/docs/Tutorials/multi-bear.md b/content/en/Cloud/Tutorials/multi-bear.md similarity index 100% rename from content/en/docs/Tutorials/multi-bear.md rename to content/en/Cloud/Tutorials/multi-bear.md diff --git a/content/en/docs/Tutorials/tutorial2.md b/content/en/Cloud/Tutorials/tutorial2.md similarity index 100% rename from content/en/docs/Tutorials/tutorial2.md rename to content/en/Cloud/Tutorials/tutorial2.md diff --git a/content/en/docs/_index.md b/content/en/Cloud/_index.md similarity index 97% rename from content/en/docs/_index.md rename to content/en/Cloud/_index.md index e4a577ec..0b07d56a 100755 --- a/content/en/docs/_index.md +++ b/content/en/Cloud/_index.md @@ -1,6 +1,7 @@ --- title: Documentation -linkTitle: Docs +linkTitle: Cloud +type: docs menu: {main: {weight: 20}} weight: 20 --- diff --git a/content/en/meshmap/Concepts/_index.md b/content/en/meshmap/Concepts/_index.md index 4a5d1755..2a40ba54 100644 --- a/content/en/meshmap/Concepts/_index.md +++ b/content/en/meshmap/Concepts/_index.md @@ -1,5 +1,5 @@ --- -title: Concepts +title: asdf weight: 4 description: > What does your user need to understand about your project in order to use it - or potentially contribute to it? diff --git a/content/en/meshmap/_index.md b/content/en/meshmap/_index.md index c96509d4..88ae80f1 100755 --- a/content/en/meshmap/_index.md +++ b/content/en/meshmap/_index.md @@ -1,6 +1,7 @@ --- title: Documentation linkTitle: MeshMap +type: docs menu: {main: {weight: 20}} weight: 20 --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 00000000..29ad5768 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,18 @@ + + + + {{ partial "head.html" . }} + + +
+ {{ partial "navbar.html" . }} +
+
+
+ {{ block "main" . }}{{ end }} +
+ {{ partial "footer.html" . }} +
+ {{ partialCached "scripts.html" . }} + + \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 00000000..00dcfc2d --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,11 @@ + + + + + {{ .Page.Title }} + + + + {{ .Content }} + + \ No newline at end of file diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html new file mode 100644 index 00000000..210b6af5 --- /dev/null +++ b/layouts/docs/baseof.html @@ -0,0 +1,32 @@ + + + + {{ partial "head.html" . }} + + +
+ {{ partial "navbar.html" . }} +
+
+
+
+ + +
+ {{ partial "version-banner.html" . }} + {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} + {{ block "main" . }}{{ end }} +
+
+
+ {{ partial "footer.html" . }} +
+ {{ partial "scripts.html" . }} + + \ No newline at end of file diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 00000000..b2e137af --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,5 @@ +{{ define "main" }} +{{ with .Content }} +{{ . }} +{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 00000000..25d7ffca --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,66 @@ +{{ $cover := and + (.HasShortcode "blocks/cover") + (not .Site.Params.ui.navbar_translucent_over_cover_disable) +-}} +{{ $baseURL := urls.Parse $.Site.Params.Baseurl -}} + + \ No newline at end of file