summaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-02-28 23:36:38 +0100
committersijanec <anton@sijanec.eu>2021-02-28 23:36:38 +0100
commit964f24db7e56f3d1100342f94bc8ca71f7411bdc (patch)
treedf800157db9b5ea7cf195858d05dfd2353f07441 /_includes
parentposodobil o (diff)
downloadsijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.tar
sijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.tar.gz
sijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.tar.bz2
sijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.tar.lz
sijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.tar.xz
sijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.tar.zst
sijanec.eu-964f24db7e56f3d1100342f94bc8ca71f7411bdc.zip
Diffstat (limited to '_includes')
-rw-r--r--_includes/analitika.html21
-rw-r--r--_includes/footer.html2
2 files changed, 22 insertions, 1 deletions
diff --git a/_includes/analitika.html b/_includes/analitika.html
new file mode 100644
index 0000000..bf57513
--- /dev/null
+++ b/_includes/analitika.html
@@ -0,0 +1,21 @@
+<!-- tomo -->
+<script type="text/javascript">
+ var _paq = window._paq = window._paq || [];
+/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
+_paq.push(["setCookieDomain", "*.sijanec.eu"]);
+_paq.push(["setDomains", ["*.sijanec.eu"]]);
+_paq.push(["setDoNotTrack", true]);
+_paq.push(["disableCookies"]);
+_paq.push(['trackPageView']);
+_paq.push(['enableLinkTracking']);
+(function() {
+ var u="//analitika.sijanec.eu/matomo/";
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
+ _paq.push(['setSiteId', '1']);
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+ g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+})();
+</script>
+<noscript><p><img src="//analitika.sijanec.eu/matomo/matomo.php?idsite=1&rec=1&action_name={{ htmltitle }}&apiv=1&url={{ canonicalurl }}" style="border:0;" alt="" /></p></noscript>
+<!-- End Matomo Code -->
diff --git a/_includes/footer.html b/_includes/footer.html
index ef08779..6453432 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,6 +1,6 @@
<hr>
<p>
- Vse pravice pridržane.&nbsp;&copy;&nbsp;{{ site.name }},&nbsp;2020 | stran generirana: {{ site.time | date: site.short_datetime_format }}
+ &copy;&nbsp;{{ site.name }},&nbsp;2020-{{ site.time | date: "%Y" }} | stran generirana: {{ site.time | date: site.short_datetime_format }}
<span id=ponudi-https hidden=true >
| <!-- uporabnik itak poganja javascript, ker se mu je to sploh odprlo -->
<a href=javascript:window.location.protocol="https:" >