summaryrefslogtreecommitdiffstats
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authoramzrk22020-05-06 20:30:07 +0800
committeramzrk22020-05-06 20:30:07 +0800
commit41ef0bdcde0534402d430185052f4c553144487c (patch)
tree6e2142599e315395afbd71d09585d06c902683eb /layouts/partials/sidebar.html
parent11639966566927a4616748c71c7c708a63d9d2b1 (diff)
downloadhugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.tar.gz
hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.tar.bz2
hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.zip
General template fix
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index a39eb3f..1f6ce45 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,9 +1,11 @@
+<!-- in-post toc -->
{{ if in .Site.Params.mainSections .Type }}
<div id="widget-toc">
<h5>{{ i18n "sidebarToc" }}</h5>
{{.TableOfContents}}
</div>
{{ end }}
+<!-- pages -->
<div id="widget-pages">
<h5>{{ i18n "sidebarPages" }}</h5>
<ul>
@@ -15,6 +17,7 @@
{{ end }}
</ul>
</div>
+<!-- tags -->
<div id="widget-tags">
<h5>{{ i18n "sidebarTags" }}</h5>
<div>
@@ -25,6 +28,7 @@
{{ end }}
</div>
</div>
+<!-- links -->
<div id="widget-links">
<h5>{{ i18n "sidebarLinks" }}</h5>
<ul>
@@ -35,6 +39,7 @@
{{ end }}
</ul>
</div>
+<!-- bgm.tv image chart -->
{{ with .Site.Params.bgmImageChart }}
<div id="widget-bgm">
<h5>{{ i18n "sidebarBangumiChart" }}</h5>