head.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <head>
  2. <meta charset="utf-8">
  3. <title>{{.Title}} | {{ site.Title }}</title>
  4. {{ "<!-- mobile responsive meta -->" | safeHTML }}
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
  7. {{ with site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
  8. {{ hugo.Generator }}
  9. {{ "<!-- plugins -->" | safeHTML }}
  10. {{ range site.Params.plugins.css }}
  11. <link rel="stylesheet" href="{{ .link | absURL }} ">
  12. {{ end }}
  13. <meta name="og:image" content="{{.Params.Image | absURL }}" />
  14. {{ "<!-- Main Stylesheet -->" | safeHTML }}
  15. {{ $styles := resources.Get "css/style.css" | minify }}
  16. <link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
  17. {{ "<!--Favicon-->" | safeHTML }}
  18. <link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
  19. <link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
  20. <!-- Global site tag (gtag.js) - Google Analytics -->
  21. <script async src="https://www.googletagmanager.com/gtag/js?id=G-H6XRRY9ZMW"></script>
  22. <script>
  23. window.dataLayer = window.dataLayer || [];
  24. function gtag(){dataLayer.push(arguments);}
  25. gtag('js', new Date());
  26. gtag('config', 'G-H6XRRY9ZMW');
  27. </script>
  28. <!-- Start of HubSpot Embed Code -->
  29. <script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/9082955.js"></script>
  30. <!-- End of HubSpot Embed Code -->
  31. </head>