mirror of
https://github.com/vacp2p/research.logos.co.git
synced 2026-04-03 03:01:03 -04:00
Add simple analytics
This commit is contained in:
@@ -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 }}">
|
||||
|
||||
2
_includes/simple-analytics.html
Normal file
2
_includes/simple-analytics.html
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user