- Remove category list from the menu items and add a link to the categories page. The pages are listed in the order given by the configuration variable MENU_PAGES. Each element must be the title of the page for which a link must be added. Add category to displayed article metadata. - Pagination nav is now flex to have a better and predictive layout and sizing. Element are no longer list elements. - Adapte css sheet to change in the layout and make necessary change to unify the style between different site using the theme.
40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
{% extends 'base.html' %}
|
|
{% block page_title %}{{article.title|striptags }}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<main>
|
|
<article>
|
|
<div class="title-block">
|
|
<h1 class="article">
|
|
{{ article.title }}
|
|
</h1>
|
|
{% if article.tags or article.subtitle %}
|
|
<div class="tags">
|
|
{% for tag in article.tags %}
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
|
{% if loop.nextitem %}
|
|
<span>-</span>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
<ul class="meta">
|
|
<li ><em>Catégorie :</em> <a href="{{ article.category.url }}">{{ article.category }}</a></li>
|
|
<li ><em>Publié le :</em> {{ article.locale_date }}</li>
|
|
{% if article.modified %}
|
|
<li><em>Modifié le :</em> {{ article.locale_modified }}</li>
|
|
{% endif %}
|
|
<li><em>Autaire :</em> {{ article.author }}</li>
|
|
</ul>
|
|
<hr>
|
|
{% if article.contentwarning %}
|
|
<div class="content-warning">
|
|
<div>: Content Warning :</div>
|
|
{{ article.contentwarning }}
|
|
</div>
|
|
{% endif %}
|
|
{{ article.content }}
|
|
</article>
|
|
</main>
|
|
{% endblock %}
|