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:
authorYauhen Shulitski <jsnjack@gmail.com>2018-10-17 12:28:20 +0300
committerYauhen Shulitski <jsnjack@gmail.com>2018-10-17 12:28:20 +0300
commitafb492893456340c9bbe9f1a5738e08fc22216f5 (patch)
tree6163ee75602ec670620a19ecab24e67a6cf2801c
parent4898749d1356f6ab1841f860ac57d8509d7f5fe1 (diff)
:m: Remove disableOriginalStyles parameter
-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 }}">