1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-10 15:14:30 +02:00

Merge branch 'master'

This commit is contained in:
Awilum
2013-12-08 21:04:12 +04:00
7 changed files with 53 additions and 57 deletions

View File

@@ -1,5 +1,11 @@
<ul>
<?php foreach ($pages as $page) { ?>
<?php
foreach ($pages as $page) {
if ($page['status'] == 'published') {
?>
<li><a href="<?php echo $page['parent'].'/'.$page['slug']; ?>"><?php echo $page['title']; ?></a></li>
<?php } ?>
<?php
}
}
?>
</ul>