TableOfContents does not include # (H1) headings #1161
-
Hi, thanks for the great theme! I have a question regarding the Table of Contents (TOC). I understand that this is Hugo's default behavior, but is there any recommended way within the Stack theme to include H1 headings in the TOC? Would you suggest changing my writing style, or is there a workaround or theme-level modification that can support this? Thanks in advance!你好,我在使用 hugo stack 主题时遇到一个问题:我习惯在正文中使用 我知道这是 Hugo 的默认行为,但想请问 Stack 主题有没有推荐的方式可以将 感谢你的帮助! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you tried changing the start heading in
line 258 in the example config for reference. |
Beta Was this translation helpful? Give feedback.
Have you tried changing the start heading in
hugo.yaml
?I believe the behavior is already customizable
line 258 in the example config for reference.