summaryrefslogtreecommitdiff
path: root/_includes/scripts/misc.html
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-10-03 00:35:46 -0500
committerKarl Hallsby <karl@hallsby.com>2021-10-03 02:16:55 -0500
commite2c06d2681e18946ab6c3e3e6075aed92a4d13be (patch)
treeb30dce94387f4717394277932f691519e0281c44 /_includes/scripts/misc.html
parenta10ad0a99ba6e44a35253c3bcaff80c90e99348e (diff)
Change to al-folio theme
Theme at: https://github.com/alshedivat/al-folio
Diffstat (limited to '_includes/scripts/misc.html')
-rw-r--r--_includes/scripts/misc.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html
new file mode 100644
index 0000000..260ce1b
--- /dev/null
+++ b/_includes/scripts/misc.html
@@ -0,0 +1,15 @@
+{% if site.enable_tooltips %}
+<!-- Enable Tooltips -->
+<script type="text/javascript">
+$(function () {$('[data-toggle="tooltip"]').tooltip()})
+</script>
+{% endif %}
+
+{% if site.enable_medium_zoom %}
+<!-- Medium Zoom JS -->
+<script src="https://cdn.jsdelivr.net/npm/medium-zoom@{{ site.medium_zoom.version }}/dist/medium-zoom.min.js" integrity="{{ site.medium_zoom.integrity }}" crossorigin="anonymous"></script>
+<script src="{{ '/assets/js/zoom.js' | relative_url }}"></script>
+{% endif %}
+
+<!-- Load Common JS -->
+<script src="{{ '/assets/js/common.js' | relative_url }}"></script>