mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
rangement des articles sur l'index gemini en date décroissante
This commit is contained in:
parent
dbbae888f4
commit
6050907dc9
2 changed files with 62 additions and 48 deletions
|
@ -115,10 +115,14 @@
|
|||
|
||||
{% if articles_others %}
|
||||
<div class="more-articles">
|
||||
<p>Y'en a un peu plus, je vous le mets...</p>
|
||||
<h2>Y'en a un peu plus, je vous le mets...</h2>
|
||||
|
||||
{% for article in articles_others %}
|
||||
{% if loop.first or article.annee != articles_others[loop.index0 - 1].annee %}
|
||||
<div class="more-articles">
|
||||
<h3>{{article.annee}}</h3>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for article in articles_others %}
|
||||
<article class="more-content">
|
||||
<div class="article-title">
|
||||
|
||||
|
@ -135,9 +139,10 @@
|
|||
</div>
|
||||
<div class="column">
|
||||
<a href="/{{ article.slug_with_year }}">
|
||||
<span class="article-date-inline">
|
||||
<!-- <span class="article-date-inline">
|
||||
{{article.annee}}
|
||||
</span> {{ article.title }}
|
||||
</span> -->
|
||||
{{ article.title }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -145,7 +150,8 @@
|
|||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
</main>
|
||||
<footer class="site-footer has-top-divider">
|
||||
<div class="container">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue