hugo-modus
April 10, 2025 ยท View on GitHub
An opinionated Hugo theme using the colour palette of the Modus themes.
Installation
Hugo Modules
If your project is using Hugo Modules:
-
Install the theme in your project
hugo mod get github.com/goofansu/hugo-modus -
Configure the theme in
hugo.toml[module] [[module.imports]] path = "github.com/goofansu/hugo-modus"
Git submodule
-
Install the theme in your project
git submodule add https://github.com/goofansu/hugo-modus.git themes/hugo-modus git submodule update --init --recursive -
Configure the theme in
hugo.tomltheme = "hugo-modus"
Usage
New section
hugo new -k section posts/_index.md
New content
hugo new posts/your-first-post.md
Development
Watch for changes and rebuild CSS
make watch
Start the Hugo server for developing
make dev