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

Feature: add parameter tocPosition. #492

Merged
merged 2 commits into from
Mar 29, 2022
Merged

Feature: add parameter tocPosition. #492

merged 2 commits into from
Mar 29, 2022

Conversation

razonyang
Copy link
Owner

Fixed #382.

This PR adds a new parameter called tocPosition. You can move the TOC inside the post content by setting tocPosition = "content". It only affects on posts's layout.

@razonyang razonyang added the enhancement New feature or request label Mar 29, 2022
@razonyang razonyang changed the title Feat toc position Feature: add parameter tocPosition. Mar 29, 2022
@netlify
Copy link

netlify bot commented Mar 29, 2022

Deploy Preview for hugo-theme-bootstrap ready!

Name Link
🔨 Latest commit 08a4508
🔍 Latest deploy log https://app.netlify.com/sites/hugo-theme-bootstrap/deploys/6242dd451a79290009cfa19b
😎 Deploy Preview https://deploy-preview-492--hugo-theme-bootstrap.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.

@razonyang razonyang merged commit f83834f into master Mar 29, 2022
@razonyang razonyang deleted the feat-toc-position branch March 29, 2022 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move Table of Contents up on mobile view?
1 participant