2021-05-03 17:48:53 +02:00
|
|
|
{% extends "base.html" %}
|
2021-05-06 19:56:25 +02:00
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{SITEURL}}/theme/css/index-styles.css">
|
|
|
|
{% endblock %}
|
|
|
|
|
2021-05-03 17:48:53 +02:00
|
|
|
{% block content %}
|
|
|
|
<section id="content">
|
|
|
|
{% block content_title %}
|
2021-05-12 16:04:46 +02:00
|
|
|
<!--<h2 class="try">All articles</h2>-->
|
2021-05-03 17:48:53 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2021-05-06 19:56:25 +02:00
|
|
|
<ul class="ul-style" id="post-list">
|
2021-05-03 17:48:53 +02:00
|
|
|
{% for article in articles_page.object_list %}
|
2021-05-06 19:56:25 +02:00
|
|
|
<li class="li-style"><article class="article-display">
|
|
|
|
<div class="row">
|
2021-05-11 15:59:24 +02:00
|
|
|
<div class="col-6">
|
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"><img class="img-resize" src="{{ SITEURL}}/images/blog/{{ article.slug}}1.webp"/></a>
|
2021-05-06 19:56:25 +02:00
|
|
|
</div>
|
2021-05-11 15:59:24 +02:00
|
|
|
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="post-info">
|
2021-05-12 16:04:46 +02:00
|
|
|
<address class="vcard-author">By
|
2021-05-06 19:56:25 +02:00
|
|
|
{% for author in article.authors %}
|
2021-05-12 16:04:46 +02:00
|
|
|
<a class="author-url" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a><br>
|
2021-05-06 19:56:25 +02:00
|
|
|
{% endfor %}
|
2021-05-12 16:04:46 +02:00
|
|
|
<time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
|
2021-05-06 19:56:25 +02:00
|
|
|
</address>
|
|
|
|
</div>
|
2021-05-11 15:59:24 +02:00
|
|
|
<h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
|
|
|
<div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
|
2021-05-12 16:04:46 +02:00
|
|
|
<div class="article-display-footer">
|
|
|
|
</div>
|
2021-05-06 19:56:25 +02:00
|
|
|
</div>
|
2021-05-11 15:59:24 +02:00
|
|
|
</div>
|
2021-05-03 17:48:53 +02:00
|
|
|
</article></li>
|
|
|
|
{% endfor %}
|
2021-05-06 19:56:25 +02:00
|
|
|
</ul><!-- /#posts-list -->
|
2021-05-03 17:48:53 +02:00
|
|
|
{% if articles_page.has_other_pages() %}
|
|
|
|
{% include 'pagination.html' %}
|
|
|
|
{% endif %}
|
|
|
|
</section><!-- /#content -->
|
|
|
|
{% endblock content %}
|