1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

analytic fix

This commit is contained in:
codecalm
2022-09-24 11:53:45 +02:00
parent 37277efe9f
commit 4dbe4662f2
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
<script defer data-domain="{{ site.preview-url }}" src="https://plausible.io/js/plausible.js"></script>
<script defer data-domain="{{ site.preview-url | replace: 'https://', '' }}" src="https://plausible.io/js/plausible.js"></script>

View File

@@ -10,6 +10,8 @@
<title>{% if title %}{{ title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title>
{% if jekyll.environment == 'preview' %}
{% include layout/analytics.html %}
<meta name="msapplication-TileColor" content="{{ site.data.colors.blue }}"/>
<meta name="theme-color" content="{{ site.data.colors.blue }}"/>
@@ -25,7 +27,6 @@
<meta name="description" content="{{ page.description | default: 'Tabler comes with tons of well-designed components and features. Start your adventure with Tabler and make your dashboard great again. For free!' | escape }}"/>
{% include layout/og.html %}
{% include layout/analytics.html %}
{% endif %}
{% include layout/css.html %}