1
0

baseof.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="{{ .Site.LanguageCode }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
  7. {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
  8. {{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }}
  9. <base href="{{ .Site.BaseURL }}">
  10. <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
  11. <link rel="canonical" href="{{ .Permalink }}">
  12. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:400,700">
  13. <link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
  14. <link rel="stylesheet" href="{{ "css/style.min.css" | absURL }}">
  15. {{ range .Site.Params.custom_css }}
  16. <link rel="stylesheet" href="{{ . | absURL }}">
  17. {{ end }}
  18. <link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
  19. <link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
  20. {{ if .RSSLink }}
  21. <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
  22. <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
  23. {{ end }}
  24. {{ .Hugo.Generator }}
  25. </head>
  26. <body>
  27. <main class="wrapper">
  28. {{ partial "header.html" . }}
  29. <div class="content">
  30. {{ block "content" . }}{{ end }}
  31. </div>
  32. {{ partial "footer.html" . }}
  33. </main>
  34. {{ template "_internal/google_analytics.html" . }}
  35. </body>
  36. </html>