chore: update kirby to 3.3.4
This commit is contained in:
parent
83cf02b9b4
commit
0113607bb9
3 changed files with 3 additions and 3 deletions
2
kirby
2
kirby
|
@ -1 +1 @@
|
||||||
Subproject commit b8846772d3cc2fabe4e84c5b7f128dcd0b6e4202
|
Subproject commit 0330c0ae4214cde349710b099a770fffd0971b4e
|
|
@ -2,7 +2,7 @@
|
||||||
return function($site, $pages, $page) {
|
return function($site, $pages, $page) {
|
||||||
|
|
||||||
// fetch the basic set of pages
|
// fetch the basic set of pages
|
||||||
$articles = $page->children()->visible()->flip();
|
$articles = $page->children()->listed()->flip();
|
||||||
|
|
||||||
// add the tag filter
|
// add the tag filter
|
||||||
if($tag = param('tag')) {
|
if($tag = param('tag')) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<nav role="navigation" class="navigation">
|
<nav role="navigation" class="navigation">
|
||||||
|
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<?php foreach($pages->visible() as $p): ?><a <?php e($p->isOpen(), ' class="active"') ?> href="<?php echo $p->url() ?>"><li><?php echo $p->title()->html() ?></li></a><?php endforeach ?>
|
<?php foreach($pages->listed() as $p): ?><a <?php e($p->isOpen(), ' class="active"') ?> href="<?php echo $p->url() ?>"><li><?php echo $p->title()->html() ?></li></a><?php endforeach ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue