a-nourishing-network/themes/basic/templates/index.html

33 lines
729 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block content %}
<section>
{% for article in articles %}
<article class="post">
<h2 class="post-title">
<a href="{{ SITEURL }}/{{ article.url }}" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</h2>
<div class="post-info">
2020-12-01 14:30:40 +01:00
<div class="author">
{{ article.author }}
</div>
<br>
<div class="date">
{{ article.locale_date }}
</div>
{% if article.category %}
<div class="category">
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</div>
{% endif %}
</div>
<div class="post-summary">
<!-- {{ article.summary }} -->
</div>
</article>
{% endfor %}
</section>
{% endblock content %}