header.html 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="theme" content="hugo-academic">
  8. {{ .Hugo.Generator }}
  9. {{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}
  10. {{ with .Site.Params.role }}<meta name="description" content="{{ . }}">{{ end }}
  11. <link rel="stylesheet" href="{{ .Site.BaseURL }}css/highlight.min.css">
  12. <link rel="stylesheet" href="{{ .Site.BaseURL }}css/bootstrap.min.css">
  13. <link rel="stylesheet" href="{{ .Site.BaseURL }}css/font-awesome.min.css">
  14. <link rel="stylesheet" href="{{ .Site.BaseURL }}css/academicons.min.css">
  15. <link rel="stylesheet" href="{{ .Site.BaseURL }}css/hugo-academic.css">
  16. {{ range .Site.Params.custom_css }}
  17. <link rel="stylesheet" href="{{ $.Site.BaseURL }}css/{{ . }}">
  18. {{ end }}
  19. <link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico" type="image/x-icon">
  20. <link rel="canonical" href="{{ .Permalink }}">
  21. <title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
  22. </head>
  23. <body id="top">