feat: ajout microformat rel

This commit is contained in:
Kazhnuz 2024-11-17 16:38:40 +01:00
parent 5b5bf3ebf8
commit d78d081579
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<a href="https://kobold.cafe/"> <a href="https://kobold.cafe/">
<img src="<?php echo HTML_PATH_THEME_IMG; ?>/koboldcafe.gif" alt="Ce site hébergé par Kobold Cafe"> <img src="<?php echo HTML_PATH_THEME_IMG; ?>/koboldcafe.gif" alt="Ce site hébergé par Kobold Cafe">
</a> </a>
<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr" rel="licence">
<img src="<?php echo HTML_PATH_THEME_IMG; ?>/cc-by-sa.gif" alt="Ce site est sous Creative Common Attribution - Partage dans les Mêmes Conditions 4.0 International"> <img src="<?php echo HTML_PATH_THEME_IMG; ?>/cc-by-sa.gif" alt="Ce site est sous Creative Common Attribution - Partage dans les Mêmes Conditions 4.0 International">
</a> </a>
</p> </p>

View file

@ -32,7 +32,7 @@
<ul class="nolist" aria-labelledby="title-article-taxo-categories"> <ul class="nolist" aria-labelledby="title-article-taxo-categories">
<h4 class="sr-only" id="title-article-taxo-categories">Catégories</h4> <h4 class="sr-only" id="title-article-taxo-categories">Catégories</h4>
<li> <li>
<a href="<?php echo $page->categoryPermalink(); ?>" class="btn btn-small c-primary p-category mr-half"> <a href="<?php echo $page->categoryPermalink(); ?>" rel="tag directory" class="btn btn-small c-primary p-category mr-half">
<svg class="icon" alt=""><use xlink:href="#icon-folder"></use></svg> <svg class="icon" alt=""><use xlink:href="#icon-folder"></use></svg>
&nbsp;<?php echo $page->category(); ?> &nbsp;<?php echo $page->category(); ?>
</a> </a>
@ -43,7 +43,7 @@
<li> <li>
<a href="<?php <a href="<?php
$tagObject = new Tag($x); $tagObject = new Tag($x);
echo $tagObject->permalink(); ?>" class="btn btn-small c-secondary p-category mr-half"> echo $tagObject->permalink(); ?>" rel="tag directory" class="btn btn-small c-secondary p-category mr-half">
<svg class="icon" alt=""><use xlink:href="#icon-tags"></use></svg> <svg class="icon" alt=""><use xlink:href="#icon-tags"></use></svg>
&nbsp;<?php echo $y; ?> &nbsp;<?php echo $y; ?>
</a> </a>