feat(serie): align serie style with article style

As a serie's content can be important in size, it is better to make it look like an article than like a section.
This commit is contained in:
ZzMzaw 2024-07-26 18:30:31 +02:00
parent cdaaea5bde
commit 15c0696bfa
4 changed files with 13 additions and 3 deletions

View file

@ -11,16 +11,20 @@
{%- include "partials/home_banner.html" -%}
{% endif -%}
<div id="posts-list">
<article>
<div>
<span class="title-label">{{ macros_translate::translate(key="serie", default="SERIE", language_strings=language_strings) }}</span>
{{ macros_page_header::page_header(title=section.title) }}
</div>
<div class="bottom-divider">
<section class="body">
{{ section.content | safe }}
</section>
</article>
<div id="posts-list">
<div class="serielist-title bottom-divider">
{{ macros_translate::translate(key="serie_posts", default="Serie's posts:", language_strings=language_strings) }}
</div>
<div class="serielist-container">
{% for post in section.pages | reverse %}
{% if loop.last %}