Backgrounds
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{% load static %}
|
||||
|
||||
body {
|
||||
{% if background.image %}
|
||||
background-image: url('{{background.image.url}}');
|
||||
{% if not background.repeat %}background-repeat: no-repeat;{% endif %}
|
||||
{% else %}
|
||||
background-color: {{background.color}};
|
||||
{% endif %}
|
||||
}
|
||||
Reference in New Issue
Block a user