blob: 37ec18cbc14eeb16a6318228aef344f99129a270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<head>
<meta charset='utf-8'/>
{{/* set responsive viewport */}}
<meta name='viewport' content='width=device-width, initial-scale=1'/>
<title>
{{- block "title" . -}}
{{- .Page.Title -}}
{{- end -}}
</title>
{{/* set stylesheet */}}
{{- $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" false) -}}
{{- $style := resources.Get "style.sass" | resources.ToCSS $options | resources.Fingerprint -}}
<link
rel='stylesheet'
type='text/css'
href='{{ $style.Permalink }}'
integrity='{{ $style.Data.Integrity }}'
/>
{{/* add feeds */}}
{{- range .AlternativeOutputFormats -}}
{{- printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}}
{{- end -}}
</head>
|