CaiJimmy / hugo-theme-stack

Card-style Hugo theme designed for bloggers
https://stack.jimmycai.com
GNU General Public License v3.0
4.89k stars 1.6k forks source link

How to modify theme by using Hugo module? #944

Closed MarkRushB closed 7 months ago

MarkRushB commented 7 months ago

What happened?

I went through the doc there, however it is not that clear, there is no theme directory originally, so which means I should create one manually then give it the correct file directories?

Hugo version

None

Theme version

None

What browsers are you seeing the problem on?

No response

More information about the browser

No response

Relevant log output

No response

Link to Minimal Reproducible Example

None

rmdhnreza commented 7 months ago

Simply create that template in your local layouts directory.

For example,

/layouts/_default/single.html

would overwrite single.html template from the theme module.