mirror of
https://github.com/ipdb/website.git
synced 2024-11-25 18:58:41 +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>
|
||||
|
||||
{% if page.js %}
|
||||
<script src="/assets/js/{{ page.js }}"></script>
|
||||
<script src="/assets/js/{{ page.js }}.min.js"></script>
|
||||
{% elsif layout.js %}
|
||||
<script src="/assets/js/{{ layout.js }}"></script>
|
||||
<script src="/assets/js/{{ layout.js }}.min.js"></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user