baseof.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. <link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
  16. <link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
  17. {{ if .RSSLink }}
  18. <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
  19. <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
  20. {{ end }}
  21. {{ .Hugo.Generator }}
  22. </head>
  23. <body>
  24. <main class="wrapper">
  25. {{ partial "header.html" . }}
  26. <div class="content">
  27. {{ block "content" . }}{{ end }}
  28. </div>
  29. {{ partial "footer.html" . }}
  30. </main>
  31. {{ template "_internal/google_analytics.html" . }}
  32. </body>
  33. </html>