schro.fi/layouts/partials/css.html

15 lines
562 B
HTML
Raw Permalink Normal View History

2020-07-10 17:25:08 +02:00
{{ $fontawesome := "font-awesome/css/all.min.css" | absURL }}
<link rel="stylesheet" href="{{ $fontawesome }}">
2020-07-09 23:38:57 +02:00
{{ $picnic := "picnic-css/picnic.min.css" | absURL }}
<link rel="stylesheet" href="{{ $picnic }}">
2019-08-18 17:35:40 +02:00
2020-07-10 22:06:24 +02:00
{{ $emoji := "emoji-css/emoji.css" | absURL }}
<link rel="stylesheet" href="{{ $emoji }}">
2019-08-18 17:35:40 +02: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 }}">