From 98f5e38e8919fa58e1743edfdded326a5b5f61bc Mon Sep 17 00:00:00 2001 From: vjeantet Date: Thu, 10 Sep 2020 21:43:43 +0200 Subject: [doc] fix yaml frontmatters --- exampleSite/content/404.md | 6 +++++- .../content-and-customization/02-navigation-search/_index.md | 3 ++- .../content/content-and-customization/03-look-and-feel/_index.md | 3 ++- exampleSite/content/content-and-customization/_index.md | 3 ++- exampleSite/content/docport-theme/credits/_index.md | 3 ++- exampleSite/content/examples/_index.md | 3 ++- exampleSite/content/examples/page without footer/_index.md | 3 ++- exampleSite/content/examples/page without header/_index.md | 3 ++- exampleSite/content/examples/page without next page/_index.md | 3 ++- exampleSite/content/examples/page without sidebar and toc/_index.md | 4 +++- exampleSite/content/examples/page without toc/_index.md | 3 ++- 11 files changed, 26 insertions(+), 11 deletions(-) diff --git a/exampleSite/content/404.md b/exampleSite/content/404.md index c980dfc..96c9229 100644 --- a/exampleSite/content/404.md +++ b/exampleSite/content/404.md @@ -2,7 +2,11 @@ date: "2020-09-08T20:40:23.389Z" description: This is a 404 page hidden: true -hide: toc, nav, breadcrumb, nextpage +hide: + - toc + - nav + - breadcrumb + - nextpage layout: page title: Whoops! Page not found url: 404.html diff --git a/exampleSite/content/content-and-customization/02-navigation-search/_index.md b/exampleSite/content/content-and-customization/02-navigation-search/_index.md index 7e565ed..5aeed30 100644 --- a/exampleSite/content/content-and-customization/02-navigation-search/_index.md +++ b/exampleSite/content/content-and-customization/02-navigation-search/_index.md @@ -1,6 +1,7 @@ --- description: "" -hide: toc +hide: + - toc title: Navigation & Search weight: 30 --- diff --git a/exampleSite/content/content-and-customization/03-look-and-feel/_index.md b/exampleSite/content/content-and-customization/03-look-and-feel/_index.md index 5882e24..d8a2f8b 100644 --- a/exampleSite/content/content-and-customization/03-look-and-feel/_index.md +++ b/exampleSite/content/content-and-customization/03-look-and-feel/_index.md @@ -1,6 +1,7 @@ --- Weight: 40 -hide: toc +hide: + - toc title: Look and feel --- diff --git a/exampleSite/content/content-and-customization/_index.md b/exampleSite/content/content-and-customization/_index.md index d693dbd..dfb5ec1 100644 --- a/exampleSite/content/content-and-customization/_index.md +++ b/exampleSite/content/content-and-customization/_index.md @@ -1,6 +1,7 @@ --- description: "" -hide: toc +hide: + - toc title: Content and Customization weight: 30 --- diff --git a/exampleSite/content/docport-theme/credits/_index.md b/exampleSite/content/docport-theme/credits/_index.md index 087538c..d498709 100644 --- a/exampleSite/content/docport-theme/credits/_index.md +++ b/exampleSite/content/docport-theme/credits/_index.md @@ -1,6 +1,7 @@ --- description: Contributors and packages used by hugo-theme-docport -hide: toc +hide: + - toc subpage: true title: Credits --- diff --git a/exampleSite/content/examples/_index.md b/exampleSite/content/examples/_index.md index 5b0afc7..44c9d50 100644 --- a/exampleSite/content/examples/_index.md +++ b/exampleSite/content/examples/_index.md @@ -1,5 +1,6 @@ --- -hide: toc +hide: + - toc title: Examples weight: 50 --- diff --git a/exampleSite/content/examples/page without footer/_index.md b/exampleSite/content/examples/page without footer/_index.md index f9ba13c..777585d 100644 --- a/exampleSite/content/examples/page without footer/_index.md +++ b/exampleSite/content/examples/page without footer/_index.md @@ -1,5 +1,6 @@ --- -hide: footer +hide: + - footer title: A page without footer weight: 20 --- diff --git a/exampleSite/content/examples/page without header/_index.md b/exampleSite/content/examples/page without header/_index.md index 9c072c5..9e5c6a2 100644 --- a/exampleSite/content/examples/page without header/_index.md +++ b/exampleSite/content/examples/page without header/_index.md @@ -1,5 +1,6 @@ --- -hide: header +hide: + - header title: A page without header weight: 10 --- diff --git a/exampleSite/content/examples/page without next page/_index.md b/exampleSite/content/examples/page without next page/_index.md index 7a88cf2..1f26f26 100644 --- a/exampleSite/content/examples/page without next page/_index.md +++ b/exampleSite/content/examples/page without next page/_index.md @@ -1,6 +1,7 @@ --- description: hide everything -hide: nextpage +hide: + - nextpage title: A page without "NEXT PAGE" weight: 80 --- diff --git a/exampleSite/content/examples/page without sidebar and toc/_index.md b/exampleSite/content/examples/page without sidebar and toc/_index.md index a59339c..d4af98d 100644 --- a/exampleSite/content/examples/page without sidebar and toc/_index.md +++ b/exampleSite/content/examples/page without sidebar and toc/_index.md @@ -1,5 +1,7 @@ --- -hide: toc, nav +hide: + - toc + - nav title: A page without sidebar and toc weight: 20 --- diff --git a/exampleSite/content/examples/page without toc/_index.md b/exampleSite/content/examples/page without toc/_index.md index e5caf30..25bf4dd 100644 --- a/exampleSite/content/examples/page without toc/_index.md +++ b/exampleSite/content/examples/page without toc/_index.md @@ -1,5 +1,6 @@ --- -hide: toc +hide: + - toc title: A page without table of contents weight: 20 --- -- cgit v1.2.3