37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<section id="content">
|
|
{% block content_title %}
|
|
<h1>All articles</h1>
|
|
<hr class="article-split">
|
|
{% endblock %}
|
|
|
|
<ul id="post-list">
|
|
{% for article in articles_page.object_list %}
|
|
<li>
|
|
<article class="hentry">
|
|
<header>
|
|
<h3 class="entry-title">
|
|
<div>
|
|
<span class="small"><time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.date.isoformat().split("T")[0] }} </time></span>
|
|
<span class="article-list-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
|
</div>
|
|
<span class="small indent">
|
|
<span class="category">{{ article.category }}</span>
|
|
<span class="">
|
|
{% for tag in article.tags|sort %}
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
|
{% endfor %}</span>
|
|
</span>
|
|
</h3>
|
|
</header>
|
|
</article>
|
|
</li>
|
|
{% endfor %}
|
|
</ul><!-- /#posts-list -->
|
|
{% if articles_page.has_other_pages() %}
|
|
{% include 'pagination.html' %}
|
|
{% endif %}
|
|
</section><!-- /#content -->
|
|
{% endblock content %}
|