8 lines
576 B
HTML
8 lines
576 B
HTML
|
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
||
|
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | resources.ToCSS $options }}
|
||
|
{{/* Uncomment to use main.css */}}
|
||
|
{{/* $style := resources.Get "sass/main.css" */}}
|
||
|
<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" />
|
||
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
|