personal-website/_includes/scripts/misc.html

12 lines
525 B
HTML

{% if site.enable_tooltips %}
<script type="text/javascript">
$(function () {$('[data-toggle="tooltip"]').tooltip()})
</script>
{%- endif %}
{%- if site.enable_medium_zoom %}
<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 -%}
<script src="{{ '/assets/js/common.js' | relative_url }}"></script>