Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/halo-dev/theme-earth/blob/main/OWNERS)~~ [JohnNiang,ruibaby]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
What type of PR is this?
/kind improvement
What this PR does / why we need it:
对 toc 进行优化。 1、当文章不存在 h1、h2、h3、h4 标题时,去除 toc 目录。 2、删除不正确的 activeClass 设置并添加
active-li
的样式Which issue(s) this PR fixes:
Fixes #87
Does this PR introduce a user-facing change?