jean-cloud_website/themes/jean-cloud/templates/index.html

31 lines
1.2 KiB
HTML
Raw Normal View History

2020-03-02 23:01:32 +00:00
{% extends "base.html" %}
2020-04-30 14:45:45 +00:00
{% block content_title %}
<h2>All articles</h2>
{% endblock %}
2020-03-02 23:01:32 +00:00
{% block content %}
2020-04-30 14:45:45 +00:00
<section id="content">
2020-03-02 23:01:32 +00:00
2020-04-30 14:45:45 +00:00
<ol id="post-list">
{% for article in articles.object_list %}
<li><article class="hentry">
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
<footer class="post-info">
<time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
<address class="vcard author">By
{% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
</footer><!-- /.post-info -->
<div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
</article></li>
2020-03-02 23:01:32 +00:00
{% endfor %}
2020-04-30 14:45:45 +00:00
</ol><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
2020-03-02 23:01:32 +00:00
{% endblock content %}