mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
toc : use newer toc partial and indent elements
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
This commit is contained in:
parent
43d1c68ef4
commit
32289fe2e7
@ -71,3 +71,7 @@
|
|||||||
margin: 20px;
|
margin: 20px;
|
||||||
padding: 10px 40px;
|
padding: 10px 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.toc li ul {
|
||||||
|
margin-left: var(--gap);
|
||||||
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<div class="details">Table of Contents</div>
|
<div class="details">Table of Contents</div>
|
||||||
</summary>
|
</summary>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{{ .TableOfContents }}
|
{{ partial "toc.html" . }}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user