diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | layouts/partials/head.html | 8 |
2 files changed, 3 insertions, 6 deletions
@@ -57,7 +57,6 @@ A [Hugo](https://gohugo.io/) theme to display a changelog ``` [params] customCSS = ["css/styles.css"] # List of css files to include on the website. Reltive to the static/ folder - disableOriginalStyles = true # Do not include original CSS styles ``` # Development diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1f81c9f..f102257 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,11 +19,9 @@ <!-- RSS --> <link href="{{ .RSSLink | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> - {{ if not .Site.Params.disableOriginalStyles -}} - {{ $scss := resources.Get "changelog.scss" }} - {{ $style := $scss | resources.ToCSS | resources.Minify }} - <link rel="stylesheet" href="{{ $style.RelPermalink }}"> - {{- end}} + {{ $scss := resources.Get "changelog.scss" }} + {{ $style := $scss | resources.ToCSS | resources.Minify }} + <link rel="stylesheet" href="{{ $style.RelPermalink }}"> {{ range .Site.Params.customCSS -}} <link rel="stylesheet" href="{{ . | relURL }}"> |