Adds background

This commit is contained in:
sValo 2016-03-05 22:21:05 +01:00
parent 7e66d0c092
commit 1fbfee56ce
4 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

View file

@ -41,7 +41,7 @@ PAGE_SAVE_AS = '{slug}.html'
PAGE_LANG_URL = '{slug}.{lang}.html' PAGE_LANG_URL = '{slug}.{lang}.html'
PAGE_LANG_SAVE_AS = '{slug}.{lang}.html' PAGE_LANG_SAVE_AS = '{slug}.{lang}.html'
#PAGE_BACKGROUND = 'images/background.jpg' PAGE_BACKGROUND = 'images/background.jpg'
THEME = 'themes/nest/' THEME = 'themes/nest/'
# Confs relative to the theme nest # Confs relative to the theme nest
NEST_HEADER_IMAGES = 'banner.png' NEST_HEADER_IMAGES = 'banner.png'

View file

@ -98,7 +98,7 @@
{% endblock head %} {% endblock head %}
</head> </head>
<body> <body {% if PAGE_BACKGROUND %} style="background-image: url('{{ PAGE_BACKGROUND }}');" {% endif %} >
<!-- Header --> <!-- Header -->
{% block headerstyle %} {% block headerstyle %}

View file

@ -27,7 +27,7 @@
{% endblock header %} {% endblock header %}
{% block content %} {% block content %}
<div class="container content"> <div style="text-align: justify;" class="container content background-image: {{ PAGE_BACKGROUND }}">
{{ page.content }} {{ page.content }}
</div> </div>
{% endblock %} {% endblock %}