We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Regardless of whether the toc is enabled or not, i18n table_of_contents is shown.
toc
i18n table_of_contents
Enable or disable toc on a small screen. You'll see the i18n table_of_contents in the post.
When toc is disabled, i18n table_of_contents should not be shown.
Linux
Firefox
v1.0.0-alpha.14.0.20221107093149-e813bc499af2
hugo v0.105.0+extended linux/amd64 BuildDate=unknown
v16.18.0
2.38.1
The screenshot below has been taken after applying the following diff:
diff --git a/exampleSite/content/about/index.md b/exampleSite/content/about/index.md index 502f2e05..45befcae 100644 --- a/exampleSite/content/about/index.md +++ b/exampleSite/content/about/index.md @@ -7,6 +7,7 @@ author = "Hugo Authors" reward = false postDate = false readingTime = false +toc = false +++
Notice the Contents string below:
Contents
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Prerequisites
Describe the issue
Regardless of whether the
toc
is enabled or not,i18n table_of_contents
is shown.Steps to reproduce
Enable or disable
toc
on a small screen. You'll see thei18n table_of_contents
in the post.Expected behavior
When
toc
is disabled,i18n table_of_contents
should not be shown.What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of theme are you using?
v1.0.0-alpha.14.0.20221107093149-e813bc499af2
What version of Hugo are you using?
hugo v0.105.0+extended linux/amd64 BuildDate=unknown
What version of Node.js are you using?
v16.18.0
What version of Git are you using?
2.38.1
Additional context
The screenshot below has been taken after applying the following diff:
Notice the
Contents
string below:The text was updated successfully, but these errors were encountered: