toc : use newer toc partial and indent elements

fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
This commit is contained in:
Aditya Telange 2020-09-19 17:03:27 +05:30
parent 43d1c68ef4
commit 32289fe2e7
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 6 additions and 2 deletions

View File

@ -71,3 +71,7 @@
margin: 20px; margin: 20px;
padding: 10px 40px; padding: 10px 40px;
} }
.toc li ul {
margin-left: var(--gap);
}

View File

@ -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>