Commit db62ef55 authored by Renon's avatar Renon

fixes bg not displaying on sections

parent 4c5dc270
...@@ -48,9 +48,9 @@ function choseOneBg() { ...@@ -48,9 +48,9 @@ function choseOneBg() {
var index = Math.floor(Math.random() * 2); var index = Math.floor(Math.random() * 2);
if (index == 0) { if (index == 0) {
document.body.style.background = "linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url(../img/milmus.jpg)"; document.body.style.background = 'linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url({{ "img/milmus.jpg" | relURL }})';
} else { } else {
document.body.style.background = "linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url(../img/some4a.jpg)"; document.body.style.background = 'linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url({{ "img/some4a.jpg" | relURL }})';
} }
document.body.style.backgroundSize = "100%"; document.body.style.backgroundSize = "100%";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment