summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/scripts.html')
-rw-r--r--layouts/_partials/scripts.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html
index b1e9aa2e..878ac01e 100644
--- a/layouts/_partials/scripts.html
+++ b/layouts/_partials/scripts.html
@@ -1,8 +1,17 @@
{{ with resources.Get "js/tooltip.js" }}
+<!-- tooltip by Eltrac -->
<script>{{ .Content | safeJS }}</script>
{{ end }}
+{{ if not .IsHome }}
{{ with resources.Get "js/inject-footnotes.js" }}
+<!-- inject footnotes by Eltrac -->
+<script>{{ .Content | safeJS }}</script>
+{{ end }}
+{{ end }}
+
+{{ with resources.Get "js/instantpage.js" }}
+<!-- instantpage.js -->
<script>{{ .Content | safeJS }}</script>
{{ end }}