redesign nav panel years
This commit is contained in:
parent
85a6807984
commit
a2722a0264
10 changed files with 112 additions and 68 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<?php snippet('cover', slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h1 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h1>
|
||||
<p class="opacity" style="--opacity:.6">catégorie</p>
|
||||
<p class="opacity-light">catégorie</p>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
<div
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
<ul>
|
||||
<?php foreach($year->children() as $article): ?>
|
||||
<?php if ($article->category() == $page->title()->value()) : ?>
|
||||
<?php snippet('text-item', ['article' => $article]) ?>
|
||||
<?php snippet('text-item', array('article' => $article)) ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue