2020-09-04 18:11:26 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
{% block content_title %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2020-09-18 17:41:16 +02:00
|
|
|
<section>
|
2020-09-11 17:59:20 +02:00
|
|
|
{% for article in articles_page.object_list|sort(attribute="slug")%}
|
2020-10-02 17:19:58 +02:00
|
|
|
<article class="page">
|
2020-09-04 18:11:26 +02:00
|
|
|
<header>
|
2020-10-16 21:26:52 +02:00
|
|
|
{% if loop.index >= 2 %}
|
|
|
|
<h2 class="page-title"><a href="{{ SITEURL }}/{{ article.url }}" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
|
|
|
{% else %}
|
|
|
|
<h2 class="page-title">{{ article.title }}</h2>
|
|
|
|
{% endif %}
|
2020-09-04 18:11:26 +02:00
|
|
|
</header>
|
|
|
|
<div class="entry-content"> {{ article.summary }} </div>
|
2020-10-02 17:19:58 +02:00
|
|
|
<footer class="page-footer">
|
|
|
|
{% if loop.index == 1 %}
|
2020-10-16 21:26:52 +02:00
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}" title="Permalink to {{ article.title|striptags }}"><button>Start</button></a>
|
2020-10-02 17:19:58 +02:00
|
|
|
{% endif %}
|
|
|
|
</footer>
|
2020-09-04 18:11:26 +02:00
|
|
|
</article></li>
|
|
|
|
{% endfor %}
|
2020-09-18 17:41:16 +02:00
|
|
|
</section>
|
2020-09-04 18:11:26 +02:00
|
|
|
{% endblock content %}
|