Allow custom stylesheets

This commit is contained in:
Clara Wildpaner
2021-04-16 02:00:56 +02:00
parent db1e525ee8
commit a97c1968ea
2 changed files with 6 additions and 0 deletions

View File

@@ -19,6 +19,11 @@
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | minify }}
<link href="{{ $style.Permalink }}" rel="stylesheet" />
{{ range .Site.Params.custom_stylesheets -}}
{{ $style := resources.Get . | resources.ToCSS | minify }}
<link href="{{ $style.Permalink }}" rel="stylesheet" />
{{- end }}
<!--Favicon-->
<link rel="shortcut icon" href="{{ .Site.Params.favicon_shortcut_icon | absURL }}" type="image/x-icon" />
<link rel="icon" href="{{ .Site.Params.favicon_icon | absURL }}" type="image/x-icon" />