Minimalistic blog theme for Hugo static website generator.
Create a new Hugo project:
>> hugo new site {{name}}
Clone this repository into themes/
directory:
>> cd {{name}}
>> git clone https://github.com/denisotree/hugo-theme-stada.git themes/stada
Enable theme with this line in the config.toml
file:
theme = "stada"
In config.toml
file, add variables in params
section:
title
: website SEO titledescription
: website SEO descriptionauthor
: author namebio
: shorn author descriptionprofilePicture
: path of file containing the author avatar imagefavicon
: path to folder with faviconsmainSections
: list of sections that will be displayed on the main page of the siteyandexCounterId
id of yandex metrika counter
To define social icons, add lines like in example (you could fing much more icones on Font Awesome website in brands
section):
[[params.socialIcons]]
icon = "fa-linkedin"
title = "Linkedin"
url = "{{path_to_you_account}}"
To add a menu item, add the following lines in menu
:
[[menu.main]]
name = "Travels"
weight = 200
identifier = "travels"
url = "/travels/"
Read Hugo documentations for more informations about menu
This theme is released under the MIT License.