fix: fix toc css bug

This commit is contained in:
Dillon 2019-08-20 03:39:40 +08:00
parent 1dc227f304
commit 36a9b75468

View file

@ -53,7 +53,7 @@
</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 }}