Fix style range

This commit is contained in:
kolaente 2020-01-20 22:48:32 +01:00
parent b436090c64
commit 51e3ae824b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@
<link rel="canonical" href="{{ .Permalink }}">
{{ $siteBaseURL := .Site.BaseURL }}
{{ range readDir "../../static/styles" }}
<link rel="stylesheet" href="{{ $siteBaseURL }}styles/{{ . }}">
{{ $styleFolder := "./themes/vikunja/static/styles" }}
{{ range readDir $styleFolder }}
<link rel="stylesheet" href="{{ $siteBaseURL }}styles/{{ .Name }}">
{{ end }}
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">