32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html
|
|
lang="{{.Site.Language.Lang }}"
|
|
xml:lang="{{.Site.Language.Lang }}"
|
|
prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#"
|
|
>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
{{ $style := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
|
|
{{ $js := resources.Get "js/main.js" | minify | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
|
<script type="text/javascript" src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}"></script>
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
|
{{ end }}
|
|
{{ partial "site/seo.html" . }}
|
|
{{ block "head" . }}
|
|
{{ end }}
|
|
</head>
|
|
<body>
|
|
{{ block "body" . }}
|
|
{{ partial "site/site-header.html" . }}
|
|
{{ block "main" . }}
|
|
{{ end }}
|
|
{{ partial "site/site-footer.html" .}}
|
|
{{ end }}
|
|
</body>
|
|
</html>
|