summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-01-10 20:22:06 +0100
committerHarald Eilertsen <haraldei@anduin.net>2017-01-10 20:22:06 +0100
commit632927a045a6608ca119baedbfe3eec72abc5e55 (patch)
tree809ba8c0dbd9b6639c667e5aab4869f932fd5b67
parente8f43e334dfb890d3fdb0cbd60fd8c22f7c73511 (diff)
downloadnorsk-urskog-main-632927a045a6608ca119baedbfe3eec72abc5e55.tar.gz
norsk-urskog-main-632927a045a6608ca119baedbfe3eec72abc5e55.tar.bz2
norsk-urskog-main-632927a045a6608ca119baedbfe3eec72abc5e55.zip
Use proper path for background image.
-rw-r--r--blog/_assets/stylesheets/main.scss2
-rw-r--r--blog/_config.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/blog/_assets/stylesheets/main.scss b/blog/_assets/stylesheets/main.scss
index beb9f2f..dd25d7f 100644
--- a/blog/_assets/stylesheets/main.scss
+++ b/blog/_assets/stylesheets/main.scss
@@ -11,7 +11,7 @@ body {
color: $text-color;
background: {
- image: image_url("background.jpg");
+ image: image_url("{% asset_path background %}");
repeat: no-repeat;
attachment: fixed;
position: center top;
diff --git a/blog/_config.yml b/blog/_config.yml
index f50a039..859d992 100644
--- a/blog/_config.yml
+++ b/blog/_config.yml
@@ -12,6 +12,10 @@ gems:
- jekyll-assets
- jekyll-multiple-languages-plugin
+assets:
+ features:
+ liquid: true
+
collections:
concerts:
output: true