mirror of https://github.com/IoTcat/kayo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
470 B
19 lines
470 B
{%- if theme.fancybox -%} |
|
{%- set fancybox_js = 'fancybox/jquery.fancybox.pack.js' -%} |
|
{%- endif -%} |
|
|
|
{%- |
|
set js_libs = { |
|
slideout: 'slideout/slideout.js', |
|
fancybox: fancybox_js, |
|
nprogress: nprogress_js, |
|
iziToast: 'iziToast/iziToast.min.js', |
|
iziModal: 'iziModal/iziModal.min.js', |
|
} |
|
-%} |
|
|
|
{%- for lib in js_libs -%} |
|
{%- if lib -%} |
|
<script type="text/javascript" src="{{ url_for('lib') }}/{{ lib }}"></script> |
|
{%- endif -%} |
|
{%- endfor -%}
|
|
|