chore: update kirby to 3.3.4

This commit is contained in:
Shannon Sterz 2020-02-25 15:56:59 +01:00
parent 83cf02b9b4
commit 0113607bb9
Signed by: sterzy
GPG key ID: DAE2BE6432FB782A
3 changed files with 3 additions and 3 deletions

2
kirby

@ -1 +1 @@
Subproject commit b8846772d3cc2fabe4e84c5b7f128dcd0b6e4202 Subproject commit 0330c0ae4214cde349710b099a770fffd0971b4e

View file

@ -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')) {

View file

@ -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>