mirror of
https://github.com/thangisme/notes.git
synced 2024-10-13 06:33:49 -04:00
27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
{%- if site.footer_content -%}
|
|
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
|
|
{% if site.mamato_enabled == true %}
|
|
</script>
|
|
<!-- Matomo -->
|
|
<script type="text/javascript">
|
|
var _paq = window._paq = window._paq || [];
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="{{ site.mamato_url }}/";
|
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
|
_paq.push(['setSiteId', '{{ site.mamato_site_id }}']);
|
|
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>
|
|
<!-- End Matomo Code -->
|
|
<noscript>
|
|
<!-- Matomo Image Tracker-->
|
|
<img referrerpolicy="no-referrer-when-downgrade" src="{{ site.mamato_url }}/matomo.php?idsite={{ site.mamato_site_id }}&rec=1" style="border:0" alt="" />
|
|
<!-- End Matomo -->
|
|
</noscript>
|
|
{% endif %}
|
|
{%- endif -%}
|