Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/create-page/set-your-homepage/_index.md')
-rw-r--r--exampleSite/content/create-page/set-your-homepage/_index.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/exampleSite/content/create-page/set-your-homepage/_index.md b/exampleSite/content/create-page/set-your-homepage/_index.md
index a81b51e..88486ad 100644
--- a/exampleSite/content/create-page/set-your-homepage/_index.md
+++ b/exampleSite/content/create-page/set-your-homepage/_index.md
@@ -8,11 +8,10 @@ title="Create homepage"
## Create a dedicated homepage
To tell Hugo-theme-docport to consider a page as homepage's content, just create a content file named `_index.md` in `content` root folder.
-* use the `layout` key in frontmatter to control what to show/hide for this page
-
-## Get rid of header, footer and navigations for Homepage
-with `layout=raw` in frontmatter, your content will render without any navigation, menu, header, footer.
+* use `hide_header`,`hide_nav`,`hide_breadcrumb`,`hide_toc`,`hide_footer` params in frontmatter to control what to show/hide for this page
+## Use plain HTML for your homepage
+set a `layout=raw` param in frontmatter, your content will render without any navigation, menu, header, footer.
Example