mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 09:02:29 +00:00
Tweak theme
This commit is contained in:
14
themes/custom-theme/layouts/partials/sidebar.html
Normal file
14
themes/custom-theme/layouts/partials/sidebar.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="sidebar">
|
||||
{{ if .Params.toc }}
|
||||
{{ with .TableOfContents }}
|
||||
<aside class="toc">
|
||||
<nav>
|
||||
<p class="sidebar__heading">Table Of Contents</p>
|
||||
{{ . }}
|
||||
</nav>
|
||||
</aside>
|
||||
<hr />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user