Sha256: 307feb366bf2b8591ebe792dd47de84dab534fcf8bef86d0cb90fac044ac33c8

Contents?: true

Size: 849 Bytes

Versions: 4

Compression:

Stored size: 849 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

4 entries across 4 versions & 1 rubygems

Version Path
beautiful-jekyll-theme-4.1.0 _includes/footer-scripts.html
beautiful-jekyll-theme-4.0.1 _includes/footer-scripts.html
beautiful-jekyll-theme-4.0.0 _includes/footer-scripts.html
beautiful-jekyll-theme-3.0.0 _includes/footer-scripts.html