blog.notmyidea.org/theme/templates/index.html
2019-06-27 00:58:42 +02:00

23 lines
941 B
HTML

{% extends "base.html" %}
{% block containerclass %}container-wide{% endblock %}
{% block containertitleclass %}container-wide{% endblock %}
{% block extrahead %}
<style>
</style>
{% endblock %}
{% block content %}
<div class="content-title">
{% block content_title %}{% endblock %}
<div class="posts">
<ul id="blog_index">
{% for article in articles_page.object_list %}
{% if not article.unlisted or article.category == category %}
<li style="background-image: url('{% if article.image %}{{ article.image }}{% endif %}') !important;"><span class="post"><a class="post_title" href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></span><span class="description"><span class="headline">{{ article.headline }}</span><time class="created" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time></span></li>
{% endif %}
{% endfor %}
</ul>
</div>
{% include 'pagination.html' %}
{% endblock content %}