hugo-coder-fork/layouts/_default/baseof.html

56 lines
1.8 KiB
HTML
Raw Normal View History

2018-03-01 01:38:59 +00:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }}
<base href="{{ .Site.BaseURL }}">
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:400,700">
<link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="{{ "css/style.min.css" | absURL }}">
2018-06-18 17:55:42 +00:00
{{ if .Site.Params.rtl}}
<link rel="stylesheet" href="{{ "css/style-rtl.min.css" | absURL }}">
{{ end }}
2018-05-14 12:51:23 +00:00
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
2018-03-01 01:38:59 +00:00
<link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
{{ .Hugo.Generator }}
</head>
2018-06-18 17:55:42 +00:00
<body class="{{ if .Site.Params.rtl }}rtl{{ end }}">
2018-03-01 01:38:59 +00:00
<main class="wrapper">
{{ partial "header.html" . }}
<div class="content">
{{ block "content" . }}{{ end }}
</div>
{{ partial "footer.html" . }}
</main>
2018-03-02 20:10:45 +00:00
{{ template "_internal/google_analytics.html" . }}
2018-03-01 01:38:59 +00:00
</body>
</html>