2019-07-05 16:50:21 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-08-08 21:53:45 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2019-07-08 07:05:23 +02:00
|
|
|
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
2019-07-05 16:50:21 +02:00
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
2020-05-22 20:18:25 +02:00
|
|
|
{{- partial "metadata.html" . -}}
|
2019-12-15 15:45:47 +01:00
|
|
|
{{ if .Site.IsServer }}
|
|
|
|
{{ $options := (dict "targetPath" "styles.css" "enableSourceMap" true) }}
|
|
|
|
{{ $styles := resources.Get "scss/main.scss" | toCSS $options }}
|
|
|
|
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
|
|
|
|
{{ else }}
|
|
|
|
{{ $options := (dict "targetPath" "styles.css") }}
|
|
|
|
{{ $styles := resources.Get "scss/main.scss" | toCSS $options | minify }}
|
|
|
|
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
|
|
|
|
{{ end }}
|
|
|
|
<!-- <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}style.css"> -->
|
2019-07-05 16:50:21 +02:00
|
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end }}
|
|
|
|
</head>
|