21 lines
988 B
HTML
21 lines
988 B
HTML
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
{{- partial "metadata.html" . -}}
|
|
{{ 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"> -->
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{ end }}
|
|
</head>
|