Skip to content
Discussion options

You must be logged in to vote

If you want to change the layouts, copy

  • node_modules/@thulite/doks-core/layouts/_partials/header/header.html to layouts/_partials/header/header.html, and
  • node_modules/@thulite/doks-core/layouts/_partials/footer/footer.html to layouts/_partials/footer/footer.html

Then 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:

## 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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jn123l
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants