Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix: fix toc css bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Aug 19, 2019
1 parent 1dc227f commit 36a9b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/posts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2 class="post-toc-title">{{ T "toc" }}</h2>
</div>
<div class="post-toc-mobile" id="post-toc-mobile">
<details>
<summary><div class="post-toc-title">{{ T "toc" }}<i class="details icon fas fa-angle-down"></i></div></summary>
<summary><div class="post-toc-title"><span>{{ T "toc" }}</span><span><i class="details icon fas fa-angle-down"></i></span></div></summary>
<div class="post-toc-content">
{{ $toc := .TableOfContents }}
{{ $toc = replaceRE `id="TableOfContents"` `id="TableOfContentsMobile"` $toc }}
Expand Down

0 comments on commit 36a9b75

Please sign in to comment.