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: support separator in sidebar #199

Merged
merged 3 commits into from
Nov 12, 2023
Merged

feat: support separator in sidebar #199

merged 3 commits into from
Nov 12, 2023

Conversation

imfing
Copy link
Owner

@imfing imfing commented Nov 11, 2023

This PR allows pages with .Params.sidebar.seperator set to true to act like a separator.

e.g.

---
title: Separator-1
weight: 6
sidebar:
  separator: true
_build:
  render: never
excludeSearch: true
---

image

@imfing imfing linked an issue Nov 11, 2023 that may be closed by this pull request
Copy link

netlify bot commented Nov 11, 2023

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 8d19396
🔍 Latest deploy log https://app.netlify.com/sites/hugo-hextra/deploys/6550d9885e60010008dd8260
😎 Deploy Preview https://deploy-preview-199--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.

@imfing imfing changed the title feat: specify pages as separator in sidebar feat: support separator in sidebar Nov 12, 2023
@imfing imfing merged commit d675d3b into main Nov 12, 2023
4 checks passed
@imfing imfing deleted the 162-sidebar-separator branch November 12, 2023 14:03
@imfing imfing mentioned this pull request Nov 12, 2023
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.

Sidebar separator
1 participant