Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add parameter to empty sidebar on mobile #287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davlgd
Copy link
Contributor

@davlgd davlgd commented Feb 12, 2024

Fix #274 #275

  • Add sidebar.emptyMobile in site.Params
  • Set it to false in the example site
  • Add the a condition in the sidebar layout
  • If the parameter is not set or false, the sidebar is shown

I check on the example site, work as expected

Copy link

netlify bot commented Feb 12, 2024

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit f922d90
🔍 Latest deploy log https://app.netlify.com/sites/hugo-hextra/deploys/65ca9f26b3d1e1000817472b
😎 Deploy Preview https://deploy-preview-287--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@davlgd
Copy link
Contributor Author

davlgd commented Nov 22, 2024

@imfing is it still ongoing or should I close ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant