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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <head>
  2. <meta charset="utf-8">
  3. <title>{{ .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 }}
  8. <meta name="author" content="{{ . }}">{{ end }}
  9. {{ hugo.Generator }}
  10. {{ template "_internal/opengraph.html" . }}
  11. {{ template "_internal/twitter_cards.html" . }}
  12. <meta name="twitter:image" content="{{ with .Params.image }}{{ else }}{{ `images/Cover.jpg` | absURL }}{{end}}">
  13. <link rel="canonical" href="{{ .Permalink }}">
  14. {{ "<!-- plugins -->" | safeHTML }}
  15. {{ range site.Params.plugins.css }}
  16. <link rel="stylesheet" href="{{ .link | absURL }}">
  17. {{ end }}
  18. {{"<!-- Main Stylesheet -->"|safeHTML}}
  19. {{ $styles := resources.Get "css/style.css" | minify }}
  20. <link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
  21. {{"<!-- Custom stylesheet - for your changes -->" |safeHTML}}
  22. {{ $custom := resources.Get "css/custom.css" | minify }}
  23. <link rel="stylesheet" href="{{ $custom.Permalink }}" media="screen">
  24. {{ "<!--Favicon-->" | safeHTML }}
  25. <link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">
  26. <link rel="icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">
  27. {{ with site.Params.google_analytics_id }}
  28. {{ "<!-- Global Site Tag (gtag.js) - Google Analytics -->" | safeHTML }}
  29. <script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
  30. <script>
  31. window.dataLayer = window.dataLayer || [];
  32. function gtag(){dataLayer.push(arguments);}
  33. gtag('js', new Date());
  34. gtag('config', '{{ . }}');
  35. </script>
  36. {{ end }}
  37. </head>