提交 4dbe4662 编写于 作者: C codecalm

analytic fix

上级 37277efe
<script defer data-domain="{{ site.preview-url }}" src="https://plausible.io/js/plausible.js"></script>
\ No newline at end of file
<script defer data-domain="{{ site.preview-url | replace: 'https://', '' }}" src="https://plausible.io/js/plausible.js"></script>
\ No newline at end of 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 %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册