DocPort Documentation

Home page

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…

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>