head.html 1.2 KB

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