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:

  1. Install the theme in your project

    hugo mod get github.com/goofansu/hugo-modus
    
  2. Configure the theme in hugo.toml

    [module]
      [[module.imports]]
        path = "github.com/goofansu/hugo-modus"
    

Git submodule

  1. Install the theme in your project

    git submodule add https://github.com/goofansu/hugo-modus.git themes/hugo-modus
    git submodule update --init --recursive
    
  2. Configure the theme in hugo.toml

    theme = "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