Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Homepage

Alexis Tacnet edited this page Feb 12, 2017 · 2 revisions

Homepage

The homepage is meant to display few articles of the Blog section or a description of yourself and the home.md post, which should be in the root of the folder.

If you don't want to display something special on the front page, just don't create this file.

If you want to add text before the article list :

$ hugo new home.md

If the blog section exists, it will display the last articles.

Configuration

The latest posts section will display latestpostcount latest posts, the parameter can be changed in the config.toml file :

latestpostcount = 5

Best posts

Just mark some articles with :

best = true

and they will be displayed in the Best posts section.

Clone this wiki locally