mirror of https://github.com/IoTcat/blog.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
422 B
19 lines
422 B
4 years ago
|
{%- if theme.fancybox -%}
|
||
|
{%- set fancybox_js = 'fancybox/jquery.fancybox.pack.js' -%}
|
||
|
{%- endif -%}
|
||
|
|
||
|
{%-
|
||
|
set js_libs = {
|
||
|
jquery: 'jquery/jquery.min.js',
|
||
|
slideout: 'slideout/slideout.js',
|
||
|
fancybox: fancybox_js,
|
||
|
nprogress: nprogress_js,
|
||
|
}
|
||
|
-%}
|
||
|
|
||
|
{%- for lib in js_libs -%}
|
||
|
{%- if lib -%}
|
||
|
<script type="text/javascript" src="{{ url_for('lib') }}/{{ lib }}"></script>
|
||
|
{%- endif -%}
|
||
|
{%- endfor -%}
|