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 support for 'Table of Contents' #62

Open
dlzht opened this issue May 17, 2024 · 3 comments
Open

add support for 'Table of Contents' #62

dlzht opened this issue May 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@dlzht
Copy link

dlzht commented May 17, 2024

Thanks for this beautiful zola theme.

Zola support Table of Contents, is it possible for terminimal to have this feature too?

@pawroman
Copy link
Owner

pawroman commented Jun 5, 2024

Huh, I wasn't aware of this feature.

Where would the ToC go? In a post?

I would welcome a contribution that adds it as an optional feature. Wanna give that a go?

@pawroman pawroman added the enhancement New feature or request label Jun 5, 2024
@DavidJS01
Copy link

Looking into contributing this next week

@AntoniosBarotsis
Copy link
Contributor

I completely forgot this did not exist because I've implemented it in my blog.

Would adding it in the theme be as simple as my implementation? definition, usage.

Here's what it looks like rendered:
image

I have the page.extra.hide_toc check so I can disable the toc if I want to though I ended up not using that.

If it is roughly that simple I can just make a pr @pawroman

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

No branches or pull requests

4 participants