fix(page): utilise la variable pour le temps de lecture
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kazhnuz 2024-06-16 09:15:37 +02:00
parent 4b5f2327e7
commit c725a24974

View file

@ -3,7 +3,7 @@
<article class="article container-article mb-1">
<h1 class="page-title"><?php echo $page->title(); ?></h1>
<?php if (!$page->isStatic() && !$url->notFound()): ?>
<p class="align-right pr-half"><span class="btn btn-small c-secondary"> 13 minutes </span></p>
<p class="align-right pr-half"><span class="btn btn-small c-secondary"> <?php echo $page->readingTime() ?> </span></p>
<?php endif ?>
<div class="article-entry mb-1">