mirror of https://github.com/acid-info/vac.dev.git
Add simple analytics
This commit is contained in:
parent
056e87680d
commit
016df532f2
|
@ -23,6 +23,8 @@ url: "https://vac.dev" # the base hostname & protocol for your site, e.g. http:/
|
|||
twitter_username: vacp2p
|
||||
github_username: vacp2p
|
||||
|
||||
simple_analytics: true
|
||||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
theme: minima
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
{%- include google-analytics.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if jekyll.environment == 'production' and site.simple_analytics -%}
|
||||
{%- include simple-analytics.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
<!-- Twitter cards -->
|
||||
<meta name="twitter:site" content="@{{ site.twitter_username }}">
|
||||
<meta name="twitter:creator" content="@{{ page.author }}">
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<script async defer src="https://cdn.simpleanalytics.io/hello.js"></script>
|
||||
<noscript><img src="https://api.simpleanalytics.io/hello.gif" alt=""></noscript>
|
Loading…
Reference in New Issue