Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jsnjack/hugo-changelog-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--layouts/partials/head.html8
2 files changed, 3 insertions, 6 deletions
diff --git a/README.md b/README.md
index f3df5f6..9620a8e 100644
--- a/README.md
+++ b/README.md
@@ -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 }}">