I have a theme which I want to include in my website as a Hugo module, and not as a git submodule. How do I achieve this?
This is what I’ve tried:
# config.yaml
theme: hugo-yami
module:
imports:
- path: github.com/UtkarshVerma/hugo-yami
This gives me the error:
Error: module "hugo-yami" not found; either add it as a Hugo Module or store it in "/home/subaru/GitHub/utkarshverma.github.io/themes".: module does not exist
hugo-yami
is a theme I’ve made for myself.