1
0
Fork 0
schro.fi/layouts/partials/css.html

9 lines
357 B
HTML
Raw Normal View History

2020-07-09 17:38:57 -04:00
{{ $picnic := "picnic-css/picnic.min.css" | absURL }}
<link rel="stylesheet" href="{{ $picnic }}">
2019-08-18 11:35:40 -04:00
<!-- convert main sass to css and add it to the html -->
{{ $sass := resources.Get "sass/main.sass" }}
{{ $cssOpts := (dict "targetPath" "css/main.css") }}
{{ $style := $sass | toCSS $cssOpts | minify}}
<link rel="stylesheet" href="{{ $style.Permalink }}">