summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authoramzrk22020-04-23 19:36:26 +0800
committeramzrk22020-04-23 19:36:26 +0800
commit39d85cc63387f940dcfd6cef1a6d43d2cc4ebdf1 (patch)
tree4e1368a8816b4abb2ff435a21c23e9604db7fc9b /layouts/_default/baseof.html
parent8e4b97a7cfd236dc4094400c623dc875fee8110b (diff)
downloadhugo-theme-fuji-39d85cc63387f940dcfd6cef1a6d43d2cc4ebdf1.tar.gz
hugo-theme-fuji-39d85cc63387f940dcfd6cef1a6d43d2cc4ebdf1.tar.bz2
hugo-theme-fuji-39d85cc63387f940dcfd6cef1a6d43d2cc4ebdf1.zip
Support in-post or global APlayer
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d6e53f4..6df6ad6 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -15,9 +15,14 @@
<div class="col-md-3 col-12 float-left" id="sidebar">
{{ partial "sidebar.html" . }}
</div>
+ {{ if .Site.Params.playerURL }}
+ <div id="aplayer"></div>
+ {{ end }}
+ {{ if .Site.Params.scrollTop }}
<div id="scroll-top">
<i class="fas fa-chevron-up"></i>
</div>
+ {{ end }}
</div>
</main>