How to hide sidebar in blog post? #78
-
I created my blog (https://sandsoncosta.github.io/) and the current layout is fine. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You'll need to remove the sidebar stuff and then the theme will detect if there is sidebar.
Please restart Hugo server after modifying config. |
Beta Was this translation helpful? Give feedback.
-
Since github.com/hbstack/blog@v0.38.0, you can hide the sidebar by setting Note See https://hbstack.dev/modules/overview/#upgrade-modules for upgrading modules. You can also apply it on all single pages via cascade. // hugo.yaml
cascade:
- _target:
kind: page
params:
sidebar: false |
Beta Was this translation helpful? Give feedback.
-
It's works. |
Beta Was this translation helpful? Give feedback.
Since github.com/hbstack/blog@v0.38.0, you can hide the sidebar by setting
sidebar
asfalse
on front matter.Note
See https://hbstack.dev/modules/overview/#upgrade-modules for upgrading modules.
You can also apply it on all single pages via cascade.