mirror of
https://github.com/ipdb/website.git
synced 2024-11-22 17:40:03 +01:00
fix loading of page-specific js
This commit is contained in:
parent
bb02324e4e
commit
aadc287771
@ -8,9 +8,9 @@
|
|||||||
<script src="/assets/js/ipdb.min.js"></script>
|
<script src="/assets/js/ipdb.min.js"></script>
|
||||||
|
|
||||||
{% if page.js %}
|
{% if page.js %}
|
||||||
<script src="/assets/js/{{ page.js }}"></script>
|
<script src="/assets/js/{{ page.js }}.min.js"></script>
|
||||||
{% elsif layout.js %}
|
{% elsif layout.js %}
|
||||||
<script src="/assets/js/{{ layout.js }}"></script>
|
<script src="/assets/js/{{ layout.js }}.min.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user