tags()); if (!empty($tags[0])) { $return_val = ''; foreach ($tags as $tag) { $url = $base_url.'/tag:'.$tag; $return_val .= '' . $tag . ' '; } $return_val .= ''; return $return_val; } else { return ''; } } $base_url = $site->find('blog')->url(); $feed_url = $base_url.'?rss'; $articles = $page->children()->listed()->flip(); $title = $page->title()->html(); // Deliver RSS feed on ?rss GET parameter $is_rss = get('rss'); if ($is_rss !== null) { snippet('blogfeed', ["articles"=>$articles,"link"=>$base_url,"feedurl"=>$feed_url]); exit; } // Filter by requested tag if($tag = param('tag')) { $articles = $articles->filterBy('tags', $tag, ','); $title .= ' - '.$tag; } $articles = $articles->paginate(6); $pagination = $articles->pagination(); snippet('blog-htmlhead'); snippet('base/cont-header'); ?> text()->kirbytext(); ?> hasPages() && $pagination->page() != 1): ?> hasNextPage()): ?> ‹ älter Seite page() ?> von pages() ?> hasPrevPage()): ?> neuer › $a,"length"=>200,"base_url"=>$base_url]); }?> hasPages()): ?> hasNextPage()): ?> ‹ älter Seite page() ?> von pages() ?> hasPrevPage()): ?> neuer ›