Move SCSS file to layout folder
This commit is contained in:
parent
d6598fb201
commit
8a29c2d11a
@ -2,7 +2,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
|
||||
{{ $scss := resources.Get "main.scss" | resources.ToCSS $options }}
|
||||
{{ $scss := resources.Get "css/main.scss" | resources.ToCSS $options }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $scss.RelPermalink }}">
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user