24 lines
1.2 KiB
HTML
Executable File
24 lines
1.2 KiB
HTML
Executable File
{{- partial "schema/site.html" . -}}
|
|
{{- if (eq .Kind "page") -}}
|
|
{{- partial "schema/post.html" . -}}
|
|
{{- end -}}
|
|
{{- if (eq .Kind "home") -}}
|
|
{{- partial "schema/post.html" . -}}
|
|
{{- end -}}
|
|
{{- if (eq .Kind "section") -}}
|
|
{{- end -}}
|
|
{{- $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed") -}}
|
|
{{- if .Site.IsServer -}}
|
|
{{- $options := (dict "targetPath" "css/style.css" "enableSourceMap" true) -}}
|
|
{{- end -}}
|
|
{{- $sass := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/bundle.scss" . | resources.ToCSS $options | resources.PostCSS -}}
|
|
{{- $sass = $sass | resources.Fingerprint -}}
|
|
<link rel="stylesheet" href="{{ $sass.Permalink }}" integrity="{{ $sass.Data.Integrity }}">
|
|
<link rel="stylesheet" href="/css/cookieconsent.min.css">
|
|
<link rel="shortcut icon" href="/img/favicon.ico">
|
|
<link rel="icon" type="image/svg+xml" href="/img/favicon.svg">
|
|
<link rel="icon" type="image/png" href="/img/favicon.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="/img/favicon-large.png" sizes="96x96">
|
|
<link rel="apple-touch-icon" type="image/png" href="/img/apple-touch-icon.png" sizes="180x180">
|
|
<meta name="msapplication-TileBackground" content="#000000">
|
|
<meta name="msapplication-TileImage" content="/img/ms-tile.png"> |