Get SCSS compilation working
This commit is contained in:
parent
f4735db2ae
commit
6d4c5de025
|
@ -0,0 +1,3 @@
|
|||
$main-font-family: 'Iosevka Etoile', sans-serif;
|
||||
|
||||
$header-font-family: 'Iosevka Aile', sans-serif;
|
|
@ -0,0 +1,9 @@
|
|||
@import '_variables.scss';
|
||||
|
||||
html {
|
||||
font-family: $main-font-family;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: $header-font-family;
|
||||
}
|
|
@ -7,7 +7,8 @@
|
|||
<title>{{ .Title }}</title>
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||
{{ $style := resources.Get "style/main.scss" | resources.ToCSS }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue