diff options
Diffstat (limited to 'exampleSite/content/content-and-customization')
10 files changed, 11 insertions, 22 deletions
diff --git a/exampleSite/content/content-and-customization/00-adding-content/_index.md b/exampleSite/content/content-and-customization/00-adding-content/_index.md index a844eca..9dc895a 100644 --- a/exampleSite/content/content-and-customization/00-adding-content/_index.md +++ b/exampleSite/content/content-and-customization/00-adding-content/_index.md @@ -12,6 +12,7 @@ pre: "" lastmodifieremail: valere.jeantet@gmail.com creatoremail: valere.jeantet@gmail.com weight: 1 + tags: - tag1 - tag2 @@ -71,13 +72,8 @@ On top of the [existing ones](https://gohugo.io/content-management/front-matter/ # order sections weight=10 - # Hide some theme components - hide_header=false # set true to hide site header - hide_nav=false # set true to hide the left navigation menu - hide_breadcrumb=false # set true to hide the breadcrumb - hide_toc=false # set true to hide the right menu (table of contents) - hide_footer=false #set true to hide the website footer - hide_nextpage=false #set true to hide the "next page" chevron + # Hide some page components + hide: header, nav, breadcrumb, toc, footer, nextpage # subpage subpage = false # usefull when you want to force a sub section to be considered as a subpage diff --git a/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md b/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md index 957118c..9924552 100644 --- a/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md +++ b/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md @@ -4,13 +4,6 @@ description = "" date = "2017-04-24T18:36:24+02:00" weight = 90 - -hide_header=false -hide_nav=false -hide_breadcrumb=false -hide_toc=false -hide_footer=false - +++ A basic .md file can be rendered as a reveal.js presentation full screen. diff --git a/exampleSite/content/content-and-customization/01-homepage/_index.md b/exampleSite/content/content-and-customization/01-homepage/_index.md index b3b6a4b..6cd1951 100644 --- a/exampleSite/content/content-and-customization/01-homepage/_index.md +++ b/exampleSite/content/content-and-customization/01-homepage/_index.md @@ -18,7 +18,7 @@ Create a `_index.md` in `content` root folder. ## Landing page appearance Remove navigation components from your landing page by setting options in its page frontmatter. You will be able to hide header, breadcrum, toc or footer... -* see hide_xxxx options [here]({{%relref "00-adding-content#page-frontmatter"%}}) +* see `hide` options [here]({{%relref "00-adding-content#page-frontmatter"%}}) * see [examples of pages]({{%relref "/examples"%}}) rendered with theses options {{%notice success%}} 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 24aed7c..2274dd5 100644 --- a/exampleSite/content/content-and-customization/02-navigation-search/_index.md +++ b/exampleSite/content/content-and-customization/02-navigation-search/_index.md @@ -2,7 +2,7 @@ title = "Navigation & Search" description = "" weight = 30 -hide_toc = true +hide = "toc" +++ Docport allow you to easily customize header, left & righ sidebars and footer. diff --git a/exampleSite/content/content-and-customization/02-navigation-search/menu/_index.md b/exampleSite/content/content-and-customization/02-navigation-search/menu/_index.md index cc2eda9..4a38d9a 100644 --- a/exampleSite/content/content-and-customization/02-navigation-search/menu/_index.md +++ b/exampleSite/content/content-and-customization/02-navigation-search/menu/_index.md @@ -81,5 +81,5 @@ Create a `_index.md` page in `_layout/_sidepage-after` folder. ## Hide site menu -Set `hide_nav=true` in your page's frontmatter, see [an example here]({{%relref "examples/page without sidebar and toc"%}}) +Set `hide: nav` in your page's frontmatter, see [an example here]({{%relref "examples/page without sidebar and toc"%}}) diff --git a/exampleSite/content/content-and-customization/02-navigation-search/thefooter/_index.md b/exampleSite/content/content-and-customization/02-navigation-search/thefooter/_index.md index 399c203..b4bca90 100644 --- a/exampleSite/content/content-and-customization/02-navigation-search/thefooter/_index.md +++ b/exampleSite/content/content-and-customization/02-navigation-search/thefooter/_index.md @@ -27,5 +27,5 @@ This allow you to define a localized footer content. {{%alert info%}}**Tip :** You can put a full HTML content in your `_index.md` file{{%/alert%}} ## Hide site footer -Set `hide_footer=true` in your page's frontmatter, see [an example here]({{%relref "examples/page without footer"%}}) +Set `hide: footer` in your page's frontmatter, see [an example here]({{%relref "examples/page without footer"%}}) diff --git a/exampleSite/content/content-and-customization/02-navigation-search/theheader/_index.md b/exampleSite/content/content-and-customization/02-navigation-search/theheader/_index.md index e13929f..0ab6123 100644 --- a/exampleSite/content/content-and-customization/02-navigation-search/theheader/_index.md +++ b/exampleSite/content/content-and-customization/02-navigation-search/theheader/_index.md @@ -58,4 +58,4 @@ Its content is what you get in the header (site shortscurs remains) This allow you to define a localized header content. ## Hide site header -Set `hide_header=true` in your page's frontmatter, see [an example here]({{%relref "examples/page without header"%}})
\ No newline at end of file +Set `hide: header` in your page's frontmatter, see [an example here]({{%relref "examples/page without header"%}})
\ No newline at end of file diff --git a/exampleSite/content/content-and-customization/02-navigation-search/toc/_index.md b/exampleSite/content/content-and-customization/02-navigation-search/toc/_index.md index 9f479b9..d87edd0 100644 --- a/exampleSite/content/content-and-customization/02-navigation-search/toc/_index.md +++ b/exampleSite/content/content-and-customization/02-navigation-search/toc/_index.md @@ -44,4 +44,4 @@ Create a `_index.md` page in `_layout/_sidepage-after` folder. ## Hide right sidebar -Set `hide_toc=true` in your page's frontmatter, see [an example here]({{%relref "examples/page without toc"%}}) +Set `hide: toc` in your page's frontmatter, see [an example here]({{%relref "examples/page without toc"%}}) 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 761b4a2..f24e021 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,7 +1,7 @@ +++ title = "Look and feel" Weight=40 -hide_toc=true +hide = "toc" +++ You can change the style and behavior of the theme without touching its source code. diff --git a/exampleSite/content/content-and-customization/_index.md b/exampleSite/content/content-and-customization/_index.md index 968f604..60a49f8 100644 --- a/exampleSite/content/content-and-customization/_index.md +++ b/exampleSite/content/content-and-customization/_index.md @@ -2,7 +2,7 @@ title = "Content and Customization" description = "" weight = 30 -hide_toc = true +hide = "toc" +++ {{%children style="h2" description="true" %}} |