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 --> didn't work at me. #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

h2kyaw
Copy link
Contributor

@h2kyaw h2kyaw commented Sep 1, 2021

I change it because it doesn't work at my Hugo. only "" work in my Hugo for display Home page summary paragraph with "more" not "toc".

I change it because it doesn't work at my Hugo. only "<!--more-->" work in my Hugo for display Home page summary paragraph with "more" not "toc".
@matsuyoshi30
Copy link
Owner

Hi @h2kyaw. Thanks for your contribution!

I wonder why it doesn't work with toc and why it works with more. Could you show me your Hugo project repository?

@h2kyaw
Copy link
Contributor Author

h2kyaw commented Sep 14, 2021

https://github.com/h2kyaw/engine

Here my hugo project.

@matsuyoshi30
Copy link
Owner

Sorry for the delay @h2kyaw .

It does not depend on <!-- toc --> or <!-- more --> comment but the front matter of your posts to output Table Of Contents(TOC). Could you check the front matter of your post which you would like to show TOC whether setting toc = true?

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

Successfully merging this pull request may close these issues.

2 participants