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

Add a table of contents element #30

Open
cswimr opened this issue Dec 14, 2024 · 1 comment
Open

Add a table of contents element #30

cswimr opened this issue Dec 14, 2024 · 1 comment
Labels
site:partials Concerns partials

Comments

@cswimr
Copy link
Member

cswimr commented Dec 14, 2024

We need a table of contents element, especially for longer pages. I'm not sure where we can put it in the current site design aside from the top of the page. Potentially a sidebar?
See TableOfContents for more info on Hugo's ToC generation.

@smallketchup82 smallketchup82 added the site:partials Concerns partials label Dec 15, 2024
@smallketchup82
Copy link
Member

id like to avoid having this be in the page content. but at the same time it'd look weird if it was on top of the pitch black background.

my thoughts is we could put a button in the topbar that when clicked, shows the TOC. similar to the "On this page" that fmhy.net has: https://fmhy.net/videopiracyguide

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

No branches or pull requests

2 participants