https://multilaterale.group pelican files && website content
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.4 KiB

4 years ago
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %}
{% block content_title %}
<h2>Articles in the {{ category }} category</h2>
{% endblock %}
{% block content %}
<section id="content">
<div id="post-list">
{% for article in articles_page.object_list %}
<article class="hentry">
<div class="entry-content">
{% if article.category != 'Brews' %}
<header> <h2 class="entry-title log"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }} | {{ article.date | strftime('%d %B %Y')}}</a></h2> </header>
{{article.summary}}
{% else %}
<header> <h2 class="entry-title log"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}"><img src="{{SITURL}}/{{article.featured_image}}"></a>
{{article.summary}}
{% endif %}
</div>
</article>
{% endfor %}
</div>
<!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endblock content %}