33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
{{ with .Description }}
|
||
|
<meta name="description" content="{{ . }}" />
|
||
|
{{ else }}
|
||
|
<meta name="description" content="{{ .Site.Params.default_description }}" />
|
||
|
{{ end }}
|
||
|
|
||
|
{{ hugo.Generator }}
|
||
|
|
||
|
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<meta name="referrer" content="no-referrer" />
|
||
|
<meta name="robots" content="noindex" />
|
||
|
|
||
|
<!-- Styles -->
|
||
|
{{ $scssStyles := (slice "style" ) }}
|
||
|
{{ range $scssStyles }}
|
||
|
{{ $scssOptions := (dict "targetPath" (print "/css/compiled/" . ".css") "outputStyle" "compressed" "enableSourceMap" true) }}
|
||
|
{{ $style := resources.Get (print "/scss/" . ".scss") | resources.ToCSS $scssOptions }}
|
||
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
|
||
|
{{ end }}
|
||
|
|
||
|
<title>
|
||
|
{{ block "title" . }}
|
||
|
{{ if .IsHome }}
|
||
|
{{- .Title }}
|
||
|
{{ else }}
|
||
|
{{- .Title }} - {{ .Site.Title -}}
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
</title>
|
||
|
</head>
|