You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
936 B

4 years ago
4 years ago
  1. <header class="header">
  2. <!-- Matomo -->
  3. <script type="text/javascript">
  4. var _paq = window._paq = window._paq || [];
  5. /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  6. _paq.push(['trackPageView']);
  7. _paq.push(['enableLinkTracking']);
  8. (function() {
  9. var u="//analytics.yigitcolakoglu.com/";
  10. _paq.push(['setTrackerUrl', u+'matomo.php']);
  11. _paq.push(['setSiteId', '1']);
  12. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  13. g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  14. })();
  15. </script>
  16. <!-- End Matomo Code -->
  17. <div class="header__inner">
  18. <div class="header__logo">
  19. {{ partial "logo.html" . }}
  20. </div>
  21. {{ if len $.Site.Menus }}
  22. <div class="menu-trigger">menu</div>
  23. {{ end }}
  24. </div>
  25. {{ if len $.Site.Menus }}
  26. {{ partial "menu.html" . }}
  27. {{ end }}
  28. </header>