mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-29 21:04:14 +01:00
8433e2253c
Also new website! We've got the version2 branch if people want to search in those files.
33 lines
928 B
HTML
33 lines
928 B
HTML
{% if layout.common-ext-js %}
|
|
{% for js in layout.common-ext-js %}
|
|
{% include ext-js.html js=js %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if page.ext-js %}
|
|
{% for js in page.ext-js %}
|
|
{% include ext-js.html js=js %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if page.js %}
|
|
{% for js in page.js %}
|
|
<script src="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if layout.common-js %}
|
|
{% for js in layout.common-js %}
|
|
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
|
{% if js contains 'jquery' %}
|
|
<script>
|
|
if (typeof jQuery == 'undefined') {
|
|
document.write('<script src="{{ js | prepend: site.baseurl | replace: "//", "/" }}"></scr' + 'ipt>');
|
|
}
|
|
</script>
|
|
{% else %}
|
|
<script src="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|