head.html 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <head>
  2. <meta charset="utf-8">
  3. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. {%- seo -%}
  6. <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
  7. {%- feed_meta -%}
  8. {%- if jekyll.environment == 'production' and site.google_analytics -%}
  9. {%- include google-analytics.html -%}
  10. {%- endif -%}
  11. <!--ADDITIONS-->
  12. <link rel="shortcut icon" href="{{ "/assets/favicon.ico" | relative_url }}" type="image/vnd.microsoft.icon" />
  13. <!-- Matomo -->
  14. <script type="text/javascript">
  15. var _paq = window._paq || [];
  16. /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  17. _paq.push(['trackPageView']);
  18. _paq.push(['enableLinkTracking']);
  19. (function() {
  20. var u="//analytics.medlab.host/";
  21. _paq.push(['setTrackerUrl', u+'matomo.php']);
  22. _paq.push(['setSiteId', '3']);
  23. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  24. g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  25. })();
  26. </script>
  27. <!-- End Matomo Code -->
  28. <!--/ADDITIONS-->
  29. </head>