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

Table of Contents? #19

Open
TheHackerDev opened this issue Sep 22, 2017 · 2 comments
Open

Table of Contents? #19

TheHackerDev opened this issue Sep 22, 2017 · 2 comments

Comments

@TheHackerDev
Copy link

Any chance you could add a table of contents to the theme? There's a guide here: https://gohugo.io/content-management/toc/.

Cheers,
Aaron (insp3ctre)

@tomanistor
Copy link
Owner

Yes I could add this in for an upcoming version. It would probably be displayed conditionally.

@tomanistor
Copy link
Owner

Unfortunately, Hugo's generated table of contents doesn't look like something I can add in at this time. This is because it adds a the table of contents into a <nav> tag. The theme already uses this tag for the fixed navbar at the top, so when Hugo generates the table of contents, it gets displayed inside of the navbar.

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

No branches or pull requests

2 participants