category.php : don't show year if no article
This commit is contained in:
parent
3804d13cb6
commit
b0fb0b101d
8 changed files with 50 additions and 35 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue