Home page
Jump to Section
By default, this theme use the first section (folder) available in your content folder as a homepage.
Create a dedicated homepage
Create a _index.md
in content
root folder.
content
├── _index.md <-- if this file exists, it is the landing page
└── section-one/ <-- else this section will be the home page
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
options here - see examples of pages rendered with theses options
Nothing but my content !
set type="raw"
in your home page frontmatter : only your content will be rendered, without menu, toc, headers, etc….. example
Use plain HTML for your homepage
Remember that hugo allows you to write your content with HTML when markdown if not enough. very usefull for a landing page !
Example
---
title: Homepage
type: raw
---
<div class="myHome">
Hello
</div>