
- In index, h1 tag are replaced with h2 tags - Remove orphan span tag for the pagination HTML - Remove all unnecessary trailing slash for tag like link - Remove stary img end tag for banner - Use configuration value for the lang attribute on the html tag - in article, make title be h2 tags instead of h1 tags and change CSS rules to match
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
{% block page_title %}{{article.title|striptags }}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<main>
|
|
<article>
|
|
<div class="title-block">
|
|
<h2 class="article">
|
|
{{ article.title }}
|
|
</h2>
|
|
<div class="subtitle">
|
|
{% if article.tags %}
|
|
{% for tag in article.tags %}
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
|
{% if loop.nextitem %}
|
|
<span>-</span>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<ul class="meta">
|
|
<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 %}
|