Skip to content

<!-- toc --> didn't work at me. - #115

Open
h2kyaw wants to merge 1 commit into
matsuyoshi30:masterfrom
h2kyaw:patch-2
Open

<!-- toc --> didn't work at me.#115
h2kyaw wants to merge 1 commit into
matsuyoshi30:masterfrom
h2kyaw:patch-2

Conversation

@h2kyaw

@h2kyaw h2kyaw commented Sep 1, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

h2kyaw commented Sep 14, 2021

Copy link
Copy Markdown
Contributor Author

https://github.com/h2kyaw/engine

Here my hugo project.

@matsuyoshi30

Copy link
Copy Markdown
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