DocPort Documentation

Home page

Create a dedicated homepage

Create a in content root folder.

	├──  <-- 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…

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 !


title: Homepage
type: raw
<div class="myHome">