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

toc: add more TOC options #800

Open
julienboucachard opened this issue Mar 15, 2024 · 3 comments
Open

toc: add more TOC options #800

julienboucachard opened this issue Mar 15, 2024 · 3 comments
Labels
feature New feature or request

Comments

@julienboucachard
Copy link

Is it possible to add an optionnal TOC menu on right like on this other template https://shadocs.netlify.app/markdown/blockquote/
But in HUGO Theme relearn as it's more nicer ?

@McShelby McShelby added the support Request for achieving a specific goal label Mar 15, 2024
@McShelby
Copy link
Owner

It is possible with a certain amount of Hugo background by overriding some of the theme files. Nevertheless this isn't an easy task.

I've plans to add more options to the toc, but currently it's not my priority.

@McShelby McShelby changed the title Add collapsible TOC menu on right toc: add more TOC options Mar 15, 2024
@McShelby
Copy link
Owner

This was already outlined in #167.

These were the requirements and I still think they are a valid starting point:

The new TOC implementation should:

  • be usable on touch as on pointer devices
  • be accessible even if the page is scrolled down
  • take the least space possible
  • may have configurable behaviour (to resemble the old UX)

Additional:

  • If it's displayed inside of the content area, maybe make it collapsible

@McShelby McShelby added feature New feature or request and removed support Request for achieving a specific goal labels Mar 15, 2024
@julienboucachard
Copy link
Author

julienboucachard commented Mar 15, 2024 via email

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

No branches or pull requests

2 participants