How to install Hugo theme Kmt ?

ยท 95 words ยท 1 minute read

Kmt is a minimal Hugo theme created by @AbanoubHA , yes it’s me, and named after the name of Egypt in the ancient egyptian language.

  1. Inside the folder of your Hugo site run:

    git submodule add -b main --depth 1 https://github.com/abanoubha/gohugo-theme-kmt.git themes/kmt
    
  2. Add the theme’s directory to your config.yaml:

    theme: kmt
    

    or config.toml:

    theme = kmt
    

Install via Hugo submodule ๐Ÿ”—

  1. From your project’s root directory, initiate the hugo module system if you haven’t already:

    hugo mod init github.com/<your_user>/<your_project>
    
  2. Add the theme’s repo to your config.yaml:

    theme:
        - github.com/abanoubha/gohugo-theme-kmt
    
Share:
waffarx cash back