|
|
|
@ -17,18 +17,15 @@ |
|
|
|
</h2> |
|
|
|
</h2> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% include "blog/includes/blog_item.html" with post=post_list.0 image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} |
|
|
|
|
|
|
|
<div class="clearfix"></div> |
|
|
|
<div class="clearfix"></div> |
|
|
|
<div class="blog-list-older"> |
|
|
|
<div class="blog-list-older"> |
|
|
|
{% for post in post_list %} |
|
|
|
{% for post in post_list %} |
|
|
|
{% if forloop.counter != 1 %} |
|
|
|
|
|
|
|
<article> |
|
|
|
<article> |
|
|
|
<header> |
|
|
|
<header> |
|
|
|
<h4><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h4> |
|
|
|
<h4><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h4> |
|
|
|
<p>{{ post.date_published|date:"DATE_FORMAT" }}</p> |
|
|
|
<p class="date">{{ post.date_published|date:"DATE_FORMAT" }}</p> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
</article> |
|
|
|
</article> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% empty %} |
|
|
|
{% empty %} |
|
|
|
<p class="blog-empty">{% trans "No article found." %}</p> |
|
|
|
<p class="blog-empty">{% trans "No article found." %}</p> |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
|