32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode | default " en-us" }}">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>{{ .Title }}</title>
|
|
{{ with .Site.Params.description }}
|
|
<meta name="description" content="{{ . }}">{{ end }}
|
|
{{ with .Site.Params.author }}
|
|
<meta name="author" content="{{ . }}">{{ end }}
|
|
{{ $sass := resources.Get "style.scss" }}
|
|
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "includePaths" (slice "assets/") "transpiler" "dartsass") }}
|
|
{{ $style := $sass | resources.ToCSS $options }}
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
|
|
{{ with .OutputFormats.Get "RSS" -}}
|
|
{{ printf `
|
|
<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
</head>
|
|
|
|
<body>
|
|
<div class="content-wrapper">
|
|
{{ partial "header" . }}
|
|
{{ block "main" . }}{{ end }}
|
|
{{ partial "footer" . }}
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|