a-nourishing-network/themes/basic/templates/article.html
2020-12-01 16:07:51 +01:00

29 lines
600 B
HTML

{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %}
{% block content %}
<article class="post">
<h2 class="post-title">{{ article.title }}</h2>
<div class="post-info">
<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-content">
{{ article.content }}
</div>
</article>
{% endblock %}