Sha256: 6571cdac6fdb0e543124c7ffd88abf9614d579320c180b59a84b10e7a18e5000

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

Stored size: 638 Bytes

Contents

{% unless page.redirect %}
  <!--[if !IE]><!---->
  <script>loadJSDeferred(document.getElementById('_hrefJS').href);</script>
  {% include my-scripts.html %}
  <!--<![endif]-->

  {% include body/analytics.html %}

  <script>
    if ('serviceWorker' in navigator) {
      {% if site.hydejack.offline.enabled %}
        navigator.serviceWorker.register(document.getElementById('_hrefSW').href)
          .then(r => r.update())
          .catch(() => {});
      {% else %}
        navigator.serviceWorker.getRegistration()
          .then(r => r.unregister())
          .catch(() => {});
      {% endif %}
    }
  </script>
{% endunless %}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-8.4.0 _includes/body/scripts.html
jekyll-theme-hydejack-8.3.2 _includes/body/scripts.html