Remove Prev/Next buttons #1384
Answered
by
h-enk
anotherhadi
asked this question in
Support
-
|
Hi! Can we remove the Prev/Next buttons on the blog ? Thanks for this project! |
Beta Was this translation helpful? Give feedback.
Answered by
h-enk
Nov 10, 2025
Replies: 1 comment 1 reply
-
|
I guess you mean the docs (the blog does not have previous and next buttons). Currently, there's no setting for that. However, you can override the appropriate file. Copy {{/* partial "main/docs-navigation.html" . */}}Note, you may need to clear Hugo's cache to directly see the effect. Run for example: npx shx rm -rf public resources hugo_stats.json .hugo_build.lock |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anotherhadi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess you mean the docs (the blog does not have previous and next buttons).
Currently, there's no setting for that. However, you can override the appropriate file. Copy
node_modules/@thulite/doks-core/layouts/single.htmland paste aslayouts/single.html. In the latter comment out line 51:{{/* partial "main/docs-navigation.html" . */}}Note, you may need to clear Hugo's cache to directly see the effect. Run for example: