fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cite: allow shifting and cites without books.
[wolnelektury.git]
/
apps
/
wolnelektury_core
/
templates
/
main_page.html
diff --git
a/apps/wolnelektury_core/templates/main_page.html
b/apps/wolnelektury_core/templates/main_page.html
index
9932b67
..
f4ffef1
100755
(executable)
--- a/
apps/wolnelektury_core/templates/main_page.html
+++ b/
apps/wolnelektury_core/templates/main_page.html
@@
-7,7
+7,11
@@
{% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
{% block body %}
{% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
{% block body %}
- <div id="big-cite"{% if cite.image %}style="background-image: url('{{ cite.image.url }}');"{% endif %} >
+ <div id="big-cite"{% if cite.image %}
+ style="
+ background-image: url('{{ cite.image.url }}');
+ background-position: 50% {{ cite.image_shift|default_if_none:50 }}%;
+ "{% endif %} >
{% render_cite cite %}
</div>
{% render_cite cite %}
</div>