-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Incorrect table of contents count #619
Comments
Oh, I didn't notice that, it may be a format tool issue, PR are welcome. |
@nemu1113 would you mind creating a pull request? I can do it for you, but I need your email address, so that I can mark this contributed by you. |
Fix: Incorrect table of contents count razonyang#619 razonyang#619 (comment)
@razonyang Thank you for your consideration. example: before: |
I have discovered that the numbers displayed in the heading tags of this site template are not calculated correctly.
The calculation of the numbers was implemented in SCSS, so I looked into it in detail and found the following bug, which I would appreciate your fixing.
Target file
/assets/main/scss/post/index.scss
→L91
Before: "counter-reset: h#{$heading + 1}counter;"
After: "counter-reset: h#{$heading + 1}Counter;"
I have confirmed that the correct numbers were displayed after a simple modification of the SCSS and testing on a sample site.
I would be happy if I could contribute to your HBS template improvement.
The text was updated successfully, but these errors were encountered: