Adds background
This commit is contained in:
parent
7e66d0c092
commit
1fbfee56ce
4 changed files with 3 additions and 3 deletions
BIN
content/images/background.jpg
Normal file
BIN
content/images/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 348 KiB |
|
@ -41,7 +41,7 @@ PAGE_SAVE_AS = '{slug}.html'
|
|||
PAGE_LANG_URL = '{slug}.{lang}.html'
|
||||
PAGE_LANG_SAVE_AS = '{slug}.{lang}.html'
|
||||
|
||||
#PAGE_BACKGROUND = 'images/background.jpg'
|
||||
PAGE_BACKGROUND = 'images/background.jpg'
|
||||
THEME = 'themes/nest/'
|
||||
# Confs relative to the theme nest
|
||||
NEST_HEADER_IMAGES = 'banner.png'
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
{% endblock head %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body {% if PAGE_BACKGROUND %} style="background-image: url('{{ PAGE_BACKGROUND }}');" {% endif %} >
|
||||
|
||||
<!-- Header -->
|
||||
{% block headerstyle %}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{% endblock header %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container content">
|
||||
<div style="text-align: justify;" class="container content background-image: {{ PAGE_BACKGROUND }}">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue