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

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <10623666+funkydan2@users.noreply.github.com>2020-10-21 06:49:13 +0300
committerGitHub <noreply@github.com>2020-10-21 06:49:13 +0300
commit343f342e9fef9306f4e3fa3a021b0d9399e21847 (patch)
treef809da8873cc5896c181a2cd9931d25e99b18060
parentef524e6d2779156702b2e8f4c5b81651a3aebdd3 (diff)
parentdafe803f7e8e8f03301b2982309efd78256d8ad8 (diff)
Merge pull request #55 from lauhayden/remove-styles-without-dark-mode-css
Remove unnecessary styles-without-dark-mode.css
-rw-r--r--layouts/partials/header_includes.html2
-rw-r--r--static/css/styles-without-dark-mode.css1
2 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/header_includes.html b/layouts/partials/header_includes.html
index 97ef312..9783120 100644
--- a/layouts/partials/header_includes.html
+++ b/layouts/partials/header_includes.html
@@ -24,7 +24,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab|Ruda" />
{{ end }}
{{ if .Site.Params.disableDarkModeCSS }}
- <link rel="stylesheet" type="text/css" href="{{ "css/styles-without-dark-mode.css" | relURL}}" />
+ <link rel="stylesheet" type="text/css" href="{{ "css/styles-light.css" | relURL}}" />
{{ else}}
<link rel="stylesheet" type="text/css" href="{{ "css/styles.css" | relURL}}" />
{{- end -}}
diff --git a/static/css/styles-without-dark-mode.css b/static/css/styles-without-dark-mode.css
deleted file mode 100644
index 17f7c6f..0000000
--- a/static/css/styles-without-dark-mode.css
+++ /dev/null
@@ -1 +0,0 @@
-@import url(./styles-light.css);