Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 624 Bytes
<?php
/** @var Kirby\Cms\App $kirby */
/** @var Kirby\Cms\Site $site */
/** @var Kirby\Cms\Page $page */
?><!DOCTYPE html>
<html <?= site()->attrLang() ?>>
<head><?php snippet('plugin-htmlhead') ?></head>
<body>
<h1><?= $page->title()->html() ?></h1>
<?= $page->text()->kirbytext() ?>
<ul class="mb-12">
<?php foreach ($site->pages() as $plugin):
if (in_array($plugin->intendedTemplate(), ['home', 'error'])) {
continue;
}
?>
<li><a href="<?= $plugin->url() ?>"><?= $plugin->title()->html() ?></a></li>
<?php endforeach; ?>
</ul>
<?php snippet('footer') ?>
</body>
</html>