Sha256: 5dafe53acf5b66a6d1e2a0f0f3af7f5bee5823f3b68b8947581796d49711361a

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

{%- comment %} mermaid {% endcomment -%}
{%- if content contains '<pre class="language-mermaid">' -%}
    {%- if site.mermaid.custom -%}
        <script src="{{ site.mermaid.custom }}"></script>
    {%- else -%}
        <script src="{{ cdn }}/assets/js/mermaid.min.js"></script>
    {%- endif %}
    <script>
        mermaid.initialize({% if site.mermaid.initialize %}{{ site.mermaid.initialize | jsonify }}{% else %}{}{% endif %});
    </script>
{%- endif %}

{% comment %} Google Analytics {% endcomment %}
{%- if site.google.gtag -%}
    <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag() {
            dataLayer.push(arguments);
        }
        gtag("js", new Date());
        gtag("config", "{{ site.google.gtag }}");
    </script>
{%- endif -%}

{% comment %} Google AdSense {% endcomment %}
{%- if site.google.adsense -%}
    <script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
{%- endif -%}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-1.1.8 _includes/node/script.extension.liquid