Sha256: 485df9893317be7d0a4ea6dd4c6393039f9c95268a311a26431d8bfc6da8c9dc
Contents?: true
Size: 1.91 KB
Versions: 22
Compression:
Stored size: 1.91 KB
Contents
{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/modules/connectors/analytics # Liquid CONNECTOR for analytic providers supported by J1 Template # # Product/Info: # http://jekyll.one # # Copyright (C) 2020 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Variables -------------------------------------------------------------------------------- {% endcomment %} {% assign analytics = site.data.template_settings.analytics.enabled %} {% assign analytics_provider = site.data.template_settings.analytics.provider %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} <!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] --> {% if analytics and page.analytics %} {% case analytics_provider %} {% when "google" %} <!-- [INFO ] [j1.modules.connectors.analytics ] [ place Google Analytics ] --> {% include themes/{{site.template.name}}/modules/connectors/analytic/google-analytics.html %} {% when "custom" %} <!-- [INFO ] [j1.modules.connectors.analytics ] [ place Custom Provider ] --> {% include themes/{{site.template.name}}/modules/connectors/analytic/custom-analytics.html %} {% endcase %} {% endif %} <!-- [INFO ] [j1.modules.connectors.analytics ] [ end processing ] -->
Version data entries
22 entries across 22 versions & 1 rubygems