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

Set toc_depth of 4 #1089

Merged
merged 1 commit into from
Apr 24, 2022
Merged

Set toc_depth of 4 #1089

merged 1 commit into from
Apr 24, 2022

Conversation

jonaharagon
Copy link
Member

Since @dngray changed some bold text to h5 headers in #1085 (which was the right move) the table of contents sidebar is a bit cluttered (see https://www.privacyguides.org/browsers/ for example). This limits the toc to only go down to h4 so we can keep them without extraneous toc entries.

old vs new

@netlify
Copy link

netlify bot commented Apr 23, 2022

Deploy Preview for privacyguides ready!

Name Link
🔨 Latest commit 480e7d5
🔍 Latest deploy log https://app.netlify.com/sites/privacyguides/deploys/626554375515860008a6502c
😎 Deploy Preview https://deploy-preview-1089--privacyguides.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 settings.

@dngray dngray added the c:enhancements new features or other enhancements to the website itself label Apr 24, 2022
dngray pushed a commit that referenced this pull request Apr 24, 2022
Signed-off-by: Daniel Gray <dng@disroot.org>
Signed-off-by: Daniel Gray <dng@disroot.org>
@dngray dngray merged commit 480e7d5 into main Apr 24, 2022
@dngray dngray deleted the pr-toc_depth branch April 24, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:enhancements new features or other enhancements to the website itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants