site: Update posts and tags

This commit is contained in:
Tom Hubrecht 2023-06-21 16:21:35 +02:00
parent 56dc9177c4
commit b840e902b9
10 changed files with 107 additions and 33 deletions

View file

@ -3,9 +3,9 @@ title: Liste des publications
---
<div class="panel-tabs">
<a class="is-active" href="#">Récentes</a>
<a class="is-active">Toutes les publications</a>
<a href="/tags.html">Catégories</a>
<a href="/about.html#poles">Pôles</a>
<a href="/poles.html">Pôles</a>
<a href="/authors.html">Auteur·e·s</a>
</div>

View file

@ -23,7 +23,7 @@ index: true
<div class="panel-tabs">
<a class="is-active" href="#">Récents</a>
<a href="/tags.html">Catégories</a>
<a href="/about.html#poles">Pôles</a>
<a href="/poles.html">Pôles</a>
<a href="/authors.html">Auteur·e·s</a>
</div>

View file

@ -1,8 +1,8 @@
<div class="panel-tabs">
<a href="/archives.html">Récentes</a>
<a href="/archives.html">Toutes les publications</a>
<a href="/tags.html">Catégories</a>
<a href="/about.html#poles">Pôles</a>
<a class="is-active" href="#">Auteur·e·s</a>
<a href="/poles.html">Pôles</a>
<a class="is-active">Auteur·e·s</a>
</div>
$authors$

View file

@ -2,7 +2,12 @@ $body$
$if(posts)$
<hr>
<div class="subtitle is-6">Liste des articles rattachés à ce pôle :</div>
<a class="panel-block" href="/poles.html">
<span class="control is-fullwidth has-text-centered">
Retour à la liste des pôles
<span class="icon"><i class="fa-solid fa-rotate-left"></i></span>
</span>
</a>
$partial("templates/posts.html")$
$endif$

View file

@ -1,2 +0,0 @@
Vous pouvez trouver tout les poles <a href="/about.html#pôles">ici</a>.
$partial("templates/posts.html")$

View file

@ -0,0 +1,8 @@
<div class="panel-tabs">
<a href="/archives.html">Toutes les publications</a>
<a href="/tags.html">Catégories</a>
<a class="is-active">Pôles</a>
<a href="/authors.html">Auteur·e·s</a>
</div>
$poles$

View file

@ -1,19 +1,23 @@
<article>
<section class="header">
Posté le $date$
$if(author)$
$author$
$endif$
</section>
<ul class="poles">$if(poles)$
$poles$
$endif$
</ul>
<ul class="tags">$if(tags)$
$tags$
$endif$
</ul>
<section class="content">
$body$
</section>
</article>
<section class="content">
$body$
</section>
<br>
<section class="mt-5 notification is-dark">
Posté le $date$
$if(author)$
$author$
$endif$
<div class="mt-2">
$if(poles)$
<span>Pôles associés :</span>
$poles$
$endif$
<span>Catégories :</span>
$if(tags)$
$tags$
$endif$
</div>
</section>

View file

@ -1,7 +1,7 @@
<div class="panel-tabs">
<a href="/archives.html">Récentes</a>
<a class="is-active" href="#">Catégories</a>
<a href="/about.html#poles">Pôles</a>
<a href="/archives.html">Toutes les publications</a>
<a class="is-active">Catégories</a>
<a href="/poles.html">Pôles</a>
<a href="/authors.html">Auteur·e·s</a>
</div>