I have a css file home_global.css which has the following in it:
body {
background-image: url(\"{% static \'citator/citator.jpg\' %}\");
}
Chopped off the particular part of the CSS tag and add into HTML file using style tag. A quick fix and worked for me.
main.css
...
#banner {
background-color: #e5474b;
color: #f2a3a5;
padding: 13em 0 11em 0;
background-color: #0c0c0c;
background-image: url("/images/banner.jpg"); <-- Remove this part and put under html
background-size: cover;
background-repeat: no-repeat;
background-position: 15% left;
text-align: right;
position: relative;
z-index: 9999;
}
...
index.html
...
...