work on home page, fix views & templates issues

This commit is contained in:
bkfox
2019-09-10 17:57:24 +02:00
parent 215a6ac331
commit e30d1b54ef
51 changed files with 658 additions and 276 deletions

View File

@ -4,12 +4,12 @@
{% block sidebar %}
{{ block.super }}
{% if sidebar_items %}
{% if sidebar_object_list %}
<section>
<h4 class="title is-4">{% trans "Latest news" %}</h4>
{% for object in sidebar_items %}
{% include "aircox/page_item.html" %}
{% for object in sidebar_object_list %}
{% include "aircox/widgets/page_item.html" %}
{% endfor %}
<br>