bludit/bl-themes/micro/php/sidebar.php

20 lines
479 B
PHP
Raw Normal View History

<h1 class="site-title">
<a href="<?php echo $Site->url() ?>">
<?php echo $Site->title() ?>
</a>
</h1>
2017-10-08 13:56:47 +02:00
<ul class="static-pages">
2017-09-21 21:55:19 +02:00
<?php
$staticPages = $dbPages->getStaticDB();
$staticPagesKeyList = array_keys($staticPages);
foreach ($staticPagesKeyList as $pageKey) {
$staticPage = buildPage($pageKey);
echo '<li>';
echo '<a href="'.$staticPage->permalink().'">';
echo $staticPage->title();
echo '</a>';
echo '</li>';
}
?>
</ul>