Sha256: dd96d4448d019ac5452f756870383ec8aacb4567eda05f01013590c901fc9ec7

Contents?: true

Size: 933 Bytes

Versions: 11

Compression:

Stored size: 933 Bytes

Contents

{%-comment-%}
  use `site.scripts` if `_data/scripts.yml` is not present, since theme data 
  files aren't generally available to sites
{%-endcomment-%}

{%-assign scripts = site.data.scripts | default: site.scripts-%}
{% for script in scripts-%}
  {%-if script.type %}
    {% assign script_type = script.type | prepend: " type='" | append: "'" %}
  {% else %}
    {%-assign script_type = "" %}
  {%-endif %}
    <script src="{{-script.path | default: site.script_path-}}{{-script.file-}}"{{ script_type-}}></script>
{%-endfor %}
{%-if site.analytics.goatcounter.code != "" and site.analytics.goatcounter.code %}
  {%-if site.analytics.goatcounter.allow_local %}
    <script type="text/javascript">    
      window.goatcounter = { allow_local: true }
    </script>
  {%-endif %}
    <script data-goatcounter="https://{{-site.analytics.goatcounter.code-}}.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
{%-endif %}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jekyll-theme-editorial-1.0.11 _includes/scripts.html
jekyll-theme-editorial-1.0.10 _includes/scripts.html
jekyll-theme-editorial-1.0.9 _includes/scripts.html
jekyll-theme-editorial-1.0.8 _includes/scripts.html
jekyll-theme-editorial-1.0.7 _includes/scripts.html
jekyll-theme-editorial-1.0.6 _includes/scripts.html
jekyll-theme-editorial-1.0.5 _includes/scripts.html
jekyll-theme-editorial-1.0.4 _includes/scripts.html
jekyll-theme-editorial-1.0.3 _includes/scripts.html
jekyll-theme-editorial-1.0.2 _includes/scripts.html
jekyll-theme-editorial-1.0.1 _includes/scripts.html