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:
authorManuel Schneider <manuel.schneider@schman.at>2018-10-17 21:55:24 +0300
committerGitHub <noreply@github.com>2018-10-17 21:55:24 +0300
commit374eee5a4670f2b4b6a80b7fcbed08c9ae9f2f04 (patch)
tree0efae8beb8f6f88686d968599708f5425c4ee934
parent79c93f1fec9bf5888eeef5d8ed5cfa8e9e119a7a (diff)
parent0a08a78b0470091e3624cbc2cf467649cbb35cab (diff)
Merge pull request #12 from squalbee/master
Fix the background image replacement
-rw-r--r--exampleSite/config.toml10
-rw-r--r--static/css/main.css2
2 files changed, 6 insertions, 6 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 8ce10df..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
@@ -51,7 +51,7 @@ googleAnalytics = ""
title = "Who am I"
description = "Aliquam ante ac id. Adipiscing interdum lorem praesent fusce pellentesque arcu feugiat. Consequat sed ultricies rutrum. Sed adipiscing eu amet interdum lorem blandit vis ac commodo aliquet integer vulputate phasellus lorem ipsum dolor lorem magna consequat sed etiam adipiscing interdum."
buttontext = "next"
- # the picture is storead at static/images/
+ # the picture is stored at static/images/
picture = "pic01.jpg"
# skill section
@@ -61,7 +61,7 @@ googleAnalytics = ""
title = "Stuff I do"
description = "Consequat sed ultricies rutrum. Sed adipiscing eu amet interdum lorem blandit vis ac commodo aliquet vulputate."
buttontext = "next"
- # the picture is storead at static/images/
+ # the picture is stored at static/images/
picture = "pic02.jpg"
[[params.block.item]]
@@ -86,7 +86,7 @@ googleAnalytics = ""
type = "text"
title = "One more thing"
description = "Aliquam ante ac id. Adipiscing interdum lorem praesent fusce pellentesque arcu feugiat. Consequat sed ultricies rutrum. Sed adipiscing eu amet interdum lorem blandit vis ac commodo aliquet integer vulputate phasellus lorem ipsum dolor lorem magna consequat sed etiam adipiscing interdum."
- # the picture is storead at static/images/
+ # the picture is stored at static/images/
picture = "pic03.jpg"
# # custom section
@@ -96,7 +96,7 @@ googleAnalytics = ""
# type = "custom"
# title = "Don't forget"
# description = "Curabitur massa ante, semper at massa et, semper pellentesque velit. Duis tempor est nisi, a gravida risus malesuada eget. Nunc rutrum arcu laoreet mauris sodales vehicula. Nunc iaculis felis ac dui egestas, vel ullamcorper tellus bibendum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lacinia sem porttitor, fringilla metus at, convallis quam. Integer convallis a justo non pellentesque."
-# # the picture is storead at static/images/
+# # the picture is stored at static/images/
# picture = "pic04.jpg"
# contact form
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;