Commit aaeb6401 authored by jeekajoo's avatar jeekajoo

piwik became matomo

parent 4622d7d9
...@@ -46,8 +46,8 @@ pagination: ...@@ -46,8 +46,8 @@ pagination:
minima: minima:
date_format: "%d/%m/%Y" date_format: "%d/%m/%Y"
# Piwik # matomo
piwik_siteid: 3 matomo_siteid: 3
# Build settings # Build settings
markdown: kramdown markdown: kramdown
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title | escape }} - {{ site.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> <title>{% if page.title %}{{ page.title | escape }} - {{ site.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
{% if jekyll.environment == 'production' and site.piwik_siteid %} {% if jekyll.environment == 'production' and site.matomo_siteid %}
{% include piwik.html %} {% include matomo.html %}
{% endif %} {% endif %}
<!-- Tags provided by 'Jekyll SEO Tag' <!-- Tags provided by 'Jekyll SEO Tag'
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}"> <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
(function() { (function() {
var u="//stats.parisenselle.fr/"; var u="//stats.parisenselle.fr/";
_paq.push(['setTrackerUrl', u+'js/']); _paq.push(['setTrackerUrl', u+'js/']);
_paq.push(['setSiteId', '{{ site.piwik_siteid }}']); _paq.push(['setSiteId', '{{ site.matomo_siteid }}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'js/'; s.parentNode.insertBefore(g,s); g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'js/'; s.parentNode.insertBefore(g,s);
})(); })();
</script> </script>
<noscript><p><img src="//stats.parisenselle.fr/js?idsite={{ site.piwik_siteid }}&rec=1" style="border:0;" alt="" /></p></noscript> <noscript><p><img src="//stats.parisenselle.fr/js?idsite={{ site.matomo_siteid }}&rec=1" style="border:0;" alt="" /></p></noscript>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment