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

github.com/schmanat/hugo-highlights-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal VanDerSwalmen <pascal.vanderswalmen@indexeo.com>2018-10-17 00:07:21 +0300
committerPascal VanDerSwalmen <pascal.vanderswalmen@indexeo.com>2018-10-17 00:27:35 +0300
commit0a08a78b0470091e3624cbc2cf467649cbb35cab (patch)
tree0efae8beb8f6f88686d968599708f5425c4ee934
parent6c148f1a64f2bc9c9e42c5db87e7d878a550fa84 (diff)
Fix 'bg.jpg' replacement
-rw-r--r--exampleSite/config.toml2
-rw-r--r--static/css/main.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index d70f66a..7340af6 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -34,7 +34,7 @@ googleAnalytics = ""
# If this param is set to true, every section gets an own background image (located at static/images)
# to change the image you could use the param picture on every section.
- # If it's disabled you could change the background to overwrite the bg.png and overlay.png to set the background.
+ # If it's disabled you could change the background to overwrite the bg.jpg and overlay.png to set the background.
backgroundpersection = true
# hero Section
diff --git a/static/css/main.css b/static/css/main.css
index 4e30534..8592131 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -1312,7 +1312,7 @@
html {
background-color: #313a3d;
background-attachment: fixed, fixed;
- background-image: url("images/overlay.png"), url("images/bg.jpg");
+ background-image: url("../../images/overlay.png"), url("../../images/bg.jpg");
background-position: top left, center center;
background-repeat: repeat, none;
background-size: auto, cover;