Pequenio/php/sidebar.php
Diego Najar b3c19a28ae v2.0
2018-09-08 18:26:20 +02:00

17 lines
347 B
PHP

<h1 class="site-title">
<a href="<?php echo $site->url() ?>">
<?php echo $site->title() ?>
</a>
</h1>
<ul class="static-pages">
<?php
foreach ($staticContent as $staticPage) {
echo '<li>';
echo '<a href="'.$staticPage->permalink().'">';
echo $staticPage->title();
echo '</a>';
echo '</li>';
}
?>
</ul>