category.php : don't show year if no article

This commit is contained in:
isUnknown 2024-04-06 11:55:51 +02:00
parent 3804d13cb6
commit b0fb0b101d
8 changed files with 50 additions and 35 deletions

View file

@ -3,10 +3,14 @@ $isOpen = isset($isOpen) ? $isOpen : false;
?>
<header
x-data="{
activeTab: ''
}"
:class="activeTab.length > 0 ? 'open' : 'close'"
class="page-cover"
>
<div class="title-wrapper">
<?= $slots->title() ?>
</div>
</header>
<?= $slots->tabs() ?>
<?= $slots->tabs() ?>
</header>