head.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <title>{% if page.title %}{{ page.title }} / {{ site.title | escape }} {% else %}{{ site.title | escape }}{% endif %}</title>
  6. <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
  7. <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
  8. <link rel="shortcut icon" type="image/png" href="{{ "/assets/favicon.png" | prepend: site.baseurl }}">
  9. <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
  10. <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
  11. <!-- Begin Matomo code -->
  12. <script type="text/javascript">
  13. var _paq = window._paq || [];
  14. /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  15. _paq.push(['trackPageView']);
  16. _paq.push(['enableLinkTracking']);
  17. (function() {
  18. var u="https://analytics.medlab.host/";
  19. _paq.push(['setTrackerUrl', u+'matomo.php']);
  20. _paq.push(['setSiteId', '4']);
  21. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  22. g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  23. })();
  24. </script>
  25. <!-- End Matomo code -->
  26. <!-- Redirect from Gitlab.io domain -->
  27. <script type="text/javascript">
  28. if (window.location.href.indexOf("gitlab.io/communityrule") > -1) {
  29. window.location.replace("https://communityrule.info");
  30. }
  31. </script>
  32. <!-- Stein database -->
  33. <script src="https://unpkg.com/stein-js-client"></script>
  34. </head>