2018-10-23 01:15:50 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{.Site.LanguageCode}}">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
{{- with .Site.Params.themeColor }}
|
|
|
|
<meta name="theme-color" content="{{.}}">
|
|
|
|
<meta name="msapplication-TileColor" content="{{.}}">
|
|
|
|
{{- end }}
|
2018-12-29 00:50:49 -05:00
|
|
|
{{ template "_internal/schema.html" . -}}
|
|
|
|
{{ template "_internal/opengraph.html" . -}}
|
|
|
|
{{ template "_internal/twitter_cards.html" . -}}
|
2018-10-23 01:15:50 -04:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.png" | relURL}}">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{"favicon-32x32.png" | relURL}}">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{"favicon-16x16.png" | relURL}}">
|
|
|
|
<link rel="manifest" href="{{"site.webmanifest" | relURL}}">
|
|
|
|
<link rel="mask-icon" href="{{"safari-pinned-tab.svg" | relURL}}" color="{{.Site.Params.themeColor}}">
|
|
|
|
<link rel="shortcut icon" href="{{"favicon.ico" | relURL}}">
|
|
|
|
<title>{{.Title}}</title>
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end -}}
|
|
|
|
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}}
|
2018-12-26 19:18:55 -05:00
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }}>
|
2018-10-23 01:15:50 -04:00
|
|
|
{{ block "head" . -}}{{- end }}
|
2018-12-30 01:49:24 -05:00
|
|
|
{{ range .Site.Params.CustomCSS -}}
|
|
|
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
|
|
|
{{- end }}
|
2018-12-31 03:08:22 -05:00
|
|
|
{{ if templates.Exists "partials/extra-headers.html" -}}
|
|
|
|
{{ partial "extra-headers.html" . }}
|
|
|
|
{{- end }}
|
2018-10-23 01:15:50 -04:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body id="page">
|
|
|
|
{{ block "header" . -}}{{ end -}}
|
|
|
|
{{ block "main" . -}}{{ end -}}
|
|
|
|
{{ block "footer" . -}}{{ end }}
|
|
|
|
{{ $script := resources.Get "js/main.js" | minify | fingerprint -}}
|
2018-12-26 19:18:55 -05:00
|
|
|
<script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script>
|
2018-12-31 03:08:22 -05:00
|
|
|
{{ partial "analytics.html" }}
|
2018-10-23 01:15:50 -04:00
|
|
|
</body>
|
|
|
|
|
2018-12-11 11:02:36 -05:00
|
|
|
</html>
|