Utterson is a minimal and clean Hugo theme based on mdo's Poole code source and inspired by bearblog.dev.
To install Utterson as your default theme, first install this repository in the themes/
directory:
cd themes/
git clone https://github.com/lupsa/utterson.git
Second, specify utterson
as your default theme in the config.toml
file. Just add the line
theme = "utterson"
at the top of the file.
For more information, read the official setup guide of Hugo.
[[module.imports]]
path = "github.com/lupsa/Utterson"
Check Hugo docs for more information about modules.
The "description" of your website near title.
This is used in the meta data of your generated html for SEO purpose.
TOML
theme = "utterson"
[params]
description = "Your custom description"
YAML
theme: "utterson"
params:
description = "Your custom description"
You can optionally enable a comment system powered by Staticman for the posts.
TOML
[params.staticman]
api = "https://<staticman-api-host>/v3/entry/github/<your_username>/<comments-repo>/master/comments"
Google Analytics can be enabled by assigning your tracking code to the googleAnalytics
variable in the config file:
TOML
googleAnalytics = "Your tracking code"
YAML
googleAnalytics: Your tracking code
Mark Otto
Darius Lupșa
Open sourced under the MIT license.
<3