pyro/templates/post.html
Freyja Wildes a536012563 [templates] Fix issues with HTML to comply with W3C validator suggestions
- 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
2025-04-26 00:16:58 +02:00

16 lines
592 B
HTML

<article>
<header>
<h2 class="post"><a class="post-title" href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
{% if article.contentwarning %}
<div class="content-warning">
CW : {{ article.contentwarning }}
</div>
{% endif %}
</header>
<div class="content">
{{ article.summary }}
</div>
<footer class="meta">
<em>Publié par {{ article.author }}, dans <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> le {{ article.locale_date }}</em>
</footer>
</article>