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.

38 lines
1.4 KiB

  1. <meta charset="utf-8" />
  2. <meta name="viewport" content="width=device-width, initial-scale=1">
  3. <meta name="msapplication-TileColor" content="#da532c">
  4. <meta name="theme-color" content="#ffffff">
  5. {{ if .Description }}
  6. <meta name="description" content="{{ .Description }}" />
  7. {{ end }}
  8. {{ if .Keywords }}
  9. <meta name="keywords" content="{{ delimit .Keywords "," }}" />
  10. {{ end }}
  11. {{ if .Params.Author }}
  12. <meta name="author" content="{{ .Params.Author }}" />
  13. {{ end }}
  14. {{ template "_internal/opengraph.html" . }}
  15. {{ template "_internal/twitter_cards.html" . }}
  16. {{ hugo.Generator }}
  17. <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  20. <link rel="manifest" href="/site.webmanifest">
  21. <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#996561">
  22. {{ if eq hugo.Environment "dev" }}
  23. {{ $style := resources.Get "css/site.css" | resources.PostCSS (dict "config" "assets/css/postcss.config.js") | minify }}
  24. <link rel="stylesheet" href="{{ $style.RelPermalink }}" />
  25. {{ $style := resources.Get "css/player.css" | resources.PostCSS (dict "config" "assets/css/postcss.config.js") | minify }}
  26. <link rel="stylesheet" href="{{ $style.RelPermalink }}" />
  27. {{ else }}
  28. <link rel="stylesheet" href="/css/site.min.css" />
  29. <link rel="stylesheet" href="/css/player.min.css" />
  30. {{ end }}