Skip to content

How to hide sidebar in blog post? #78

Closed Answered by razonyang
sandsoncosta asked this question in Q&A
Discussion options

You must be logged in to vote

Since github.com/hbstack/blog@v0.38.0, you can hide the sidebar by setting sidebar as false on front matter.

You can also apply it on all single pages via cascade.

// hugo.yaml
cascade:
  - _target:
      kind: page
    params:
      sidebar: false

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@sandsoncosta
Comment options

@razonyang
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by razonyang
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