2013-11-24 18:53:19 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2014-06-21 13:07:58 +02:00
|
|
|
{% block head %}
|
2014-10-28 19:37:47 +01:00
|
|
|
{{ super() }}
|
|
|
|
<meta name="author" content="{{ AUTHOR }}">
|
|
|
|
<meta name="description" content="{{ META_DESCRIPTION|striptags }}">
|
2014-06-21 13:07:58 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2013-11-24 18:53:19 +01:00
|
|
|
{% block content %}
|
2014-10-28 19:37:47 +01:00
|
|
|
{% block page_title %}
|
|
|
|
<h1>All Articles</h1>
|
|
|
|
{% endblock %}
|
|
|
|
<div>
|
|
|
|
{% for article in articles_page.object_list %}
|
|
|
|
<div class="post mini-post">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<p class="post-date">
|
|
|
|
<a class="text-muted" href="/{{ article.url }}" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</a>
|
|
|
|
</p>
|
|
|
|
<p class="post-category">
|
|
|
|
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
|
|
|
</p>
|
|
|
|
{% if article.author and SHOW_ARTICLE_AUTHOR %}
|
|
|
|
<address class="post-author">
|
|
|
|
By <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
|
|
|
</address>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8">
|
|
|
|
<h2 class="post-title">
|
|
|
|
<a href="/{{ article.url }}" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
|
|
|
|
</h2>
|
|
|
|
<div class="post-content">
|
|
|
|
{{ article.content|striptags|truncate(256) }}
|
2014-06-21 14:50:44 +02:00
|
|
|
</div>
|
2014-10-28 19:37:47 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% include 'include/pagination.html' %}
|
2014-05-28 23:54:52 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|