Fork of @spf13's port of Mdo's excellent theme to Hugo https://brendan.abolivier.bzh/

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml"{{with .Site.LanguageCode}} xml:lang="{{.}}" lang="{{.}}"{{end}}>
  3. <head>
  4. <link href="https://gmpg.org/xfn/11" rel="profile">
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  6. {{ hugo.Generator }}
  7. <!-- Enable responsiveness on mobile devices-->
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. {{ if .IsHome -}}
  10. <title>{{ .Site.Title }}</title>
  11. {{- else -}}
  12. <title>{{ .Title }} &middot; {{ .Site.Title }}</title>
  13. {{- end }}
  14. <!-- CSS -->
  15. <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
  16. <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
  17. <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/syntax.css">
  18. <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">
  19. {{ partial "head_fonts.html" . }}
  20. <!-- Icons -->
  21. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
  22. <link rel="shortcut icon" href="/favicon.png">
  23. <!-- RSS etc -->
  24. {{ range .AlternativeOutputFormats -}}
  25. {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
  26. {{ end -}}
  27. {{ partial "hook_head_end.html" . }}
  28. </head>