small fixes in templates

This commit is contained in:
bkfox
2017-03-31 18:27:30 +02:00
parent 98af7a4693
commit c3573867d0
5 changed files with 27 additions and 28 deletions

View File

@ -7,6 +7,8 @@
{% block content %}
{% spaceless %}
<div class="meta">
{% with ancestors=page.get_ancestors %}
{% if ancestors|length != 1 %}
<div class="link_list">
<img src="{% static "aircox/images/home.png" %}"
alt="{% trans "Parent pages" %}"
@ -19,6 +21,8 @@
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% with list_page=settings.cms.WebsiteSettings.list_page %}
{% if list_page and page.tags.count %}