-
|
I want to customize the header and footer of my site. However, the changes don't display on the actual site. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
If you want to change the layouts, copy
Then make your changes in the latter files. To make Hugo's server live reload work properly, exlcude the original files in ## layouts
[[mounts]]
source = "layouts"
target = "layouts"
[[mounts]]
# Exclude 'home.html' to avoid conflicts with custom home page layouts defined in the local 'layouts' directory.
excludeFiles = ["home.html", "_partials/header/header.html", "_partials/footer/footer.html"]
source = "node_modules/@thulite/doks-core/layouts"
target = "layouts"If you want to change the styling, do that in:
Check the original styling by in your browser selecting the part you'd like to change, right mouse click, select Inspect and/or the files in |
Beta Was this translation helpful? Give feedback.
-
|
This works. Thank you! |
Beta Was this translation helpful? Give feedback.
If you want to change the layouts, copy
node_modules/@thulite/doks-core/layouts/_partials/header/header.htmltolayouts/_partials/header/header.html, andnode_modules/@thulite/doks-core/layouts/_partials/footer/footer.htmltolayouts/_partials/footer/footer.htmlThen make your changes in the latter files. To make Hugo's server live reload work properly, exlcude the original files in
config/_default/module.toml: