Split & convert CSS into 4 SCSS, dont use .button for now
This commit is contained in:
parent
5b990659a6
commit
36fdb286ae
7 changed files with 79 additions and 61 deletions
|
@ -1,4 +1,7 @@
|
|||
{{- with resources.Get "css/main.css" }}
|
||||
{{- $file_from := printf "scss/%s.scss" .Css }}
|
||||
{{- $file_to := printf "css/%s.css" .Css }}
|
||||
{{- $options := dict "transpiler" "libsass" "targetPath" $file_to }}
|
||||
{{- with resources.Get $file_from | toCSS $options }}
|
||||
{{- if eq hugo.Environment "development" }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||
{{- else }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue