2024-10-27 09:50:19 +00:00
|
|
|
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" .Site.Params.enableSourceMaps) }}
|
|
|
|
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass $options }}
|
|
|
|
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
2024-10-27 21:48:54 +00:00
|
|
|
{{ if hugo.IsDevelopment }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ with $style | minify | fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2024-10-27 09:50:19 +00:00
|
|
|
{{- partial "head/custom.html" . -}}
|
|
|
|
{{- template "_internal/twitter_cards.html" . -}}
|