Sha256: d465d59222c2a5ad4479d37b146ba6f649cda3f3ba8344edddfe2deba91d53c6
Contents?: true
Size: 847 Bytes
Versions: 5
Compression:
Stored size: 847 Bytes
Contents
{% if layout.common-ext-js %} {% for js in layout.common-ext-js %} {% include ext-js.html js=js %} {% 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 | relative_url }}"></scr' + 'ipt>'); } </script> {% else %} <script src="{{ js | relative_url }}"></script> {% endif %} {% 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 | relative_url }}"></script> {% endfor %} {% endif %}
Version data entries
5 entries across 5 versions & 2 rubygems