blog/themes/simple/templates/index.html
2022-11-02 22:55:14 -04:00

27 lines
857 B
HTML

{% extends "base.html" %}
{% block content %}
<section id="content">
{% block content_title %}
<h1>All articles</h1>
{% endblock %}
<ul id="post-list">
{% for article in articles_page.object_list %}
<li>
<article class="hentry">
<header>
<h3 class="entry-title">
<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>
</h3>
</header>
</article>
</li>
{% endfor %}
</ul><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endblock content %}