Sha256: f728daa7f73f643541c9603fd025527446aa77023aad73c98f46d04c0e3e8e4c

Contents?: true

Size: 888 Bytes

Versions: 1

Compression:

Stored size: 888 Bytes

Contents

{%- comment %} mermaid {% endcomment -%}
{%- if content contains '<code 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 -%}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.0.pre.beta1 _includes/head/script.extension.liquid