I’m using a Module for a theme (I think of this as using a “Theme as a module” but … !?)
[module]
[[module.imports]]
path = "github.com/onweru/newsroom"
The author of the theme responded to an issue to help me understand how to tweak the theme to use a non-italic font. This involves revising assets/sass/_nav.sass
.
I naively assumed I could create a local copy of this hierarchy with the revised file:
.
├── assets
│ └── sass
│ └── _nav.sass
├── content
│ └── posts
├── go.mod
├── go.sum
├── hugo.toml
├── public
├── resources
├── static
└── themes
But that doesn’t work.
Am I correct in thinking that the correct solution is to vendor the module for the theme and edit it in the vendored (_vendor
) folder?
I’m confused in part because, to configure GoatCounter for my sites, I’ve been (verifiably) able to create layouts/_default/baseof.html
and layouts/partials/analytics.html
as a way to override the theme’s settings (!).
I assumed this was a general merge capability of, if the file exists in the parent (!?) site (!?) module, then it overrides module files.
Thanks in advance!