1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-30 13:26:36 -05:00
notes/_includes/footer_custom.html

27 lines
1.2 KiB
HTML
Raw Permalink Normal View History

{%- if site.footer_content -%}
2020-12-15 08:31:46 -05:00
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
{% if site.mamato_enabled == true %}
2020-12-15 08:30:52 -05:00
</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 }}&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo -->
</noscript>
{% endif %}
{%- endif -%}