Use the scss generation from hugo

This commit is contained in:
Djordje Atlialp 2019-02-22 15:19:42 +01:00
parent 484980e920
commit 8b8c1d23d1
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@
<!-- CSS -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Source+Code+Pro" rel="stylesheet" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.1/css/flag-icon.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/assets/style.css">
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{- range .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ . | absURL }}">