mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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
@ -70,4 +70,8 @@
|
||||
border-left: 2px solid;
|
||||
margin: 20px;
|
||||
padding: 10px 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.toc li ul {
|
||||
margin-left: var(--gap);
|
||||
}
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="details">Table of Contents</div>
|
||||
</summary>
|
||||
<blockquote>
|
||||
{{ .TableOfContents }}
|
||||
{{ partial "toc.html" . }}
|
||||
</blockquote>
|
||||
</details>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user