add default.scss
This commit is contained in:
parent
190c0acf7f
commit
aa106280af
7 changed files with 17 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
{{- define "stylesheet" -}}
|
||||
{{- $scss := resources.Get "/scss/default.scss" -}}
|
||||
{{- $style := $scss | resources.ToCSS -}}
|
||||
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
||||
{{- end -}}
|
||||
|
||||
{{- define "main" }}
|
||||
<main>
|
||||
{{- if eq .Params.type "post" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue