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
1.3 KiB

  1. <!DOCTYPE html>
  2. <html {{ with .Site.LanguageCode }}lang="{{ . }}"{{ end }}>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. {{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}
  8. {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
  9. {{ .Hugo.Generator }}
  10. <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title>
  11. <link rel="shortcut icon" href="{{ .Site.BaseURL }}/images/favicon.ico">
  12. {{ $css := resources.Get "css/style.css" }}
  13. {{ $style := $css | resources.Minify | resources.Fingerprint }}
  14. <link rel="stylesheet" href="{{ $style.Permalink }}">
  15. {{ range .Site.Params.customCSS }}
  16. <link rel="stylesheet" href="{{ $.Site.BaseURL }}/{{ . }}">
  17. {{ end }}
  18. {{ if .Site.Params.enableRSS }}
  19. <link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
  20. {{ end }}
  21. {{ template "_internal/opengraph.html" . }}
  22. {{ template "_internal/google_news.html" . }}
  23. {{ template "_internal/schema.html" . }}
  24. {{ template "_internal/twitter_cards.html" . }}
  25. </head>