summaryrefslogtreecommitdiff
path: root/_includes/scripts/misc.html
diff options
context:
space:
mode:
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>