1
0

baseof.html 1.8 KB

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