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

15 lines
562 B
HTML

{{ $fontawesome := "font-awesome/css/all.min.css" | absURL }}
<link rel="stylesheet" href="{{ $fontawesome }}">
{{ $picnic := "picnic-css/picnic.min.css" | absURL }}
<link rel="stylesheet" href="{{ $picnic }}">
{{ $emoji := "emoji-css/emoji.css" | absURL }}
<link rel="stylesheet" href="{{ $emoji }}">
<!-- 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 }}">