Merge 64a9f1e156efc75a5f2032ca068ef36ce7a1b6fb into 9827b18b43417a8dd9bae0a71399bb8cdb1042ce

This commit is contained in:
Alexander K 2016-05-29 03:28:42 +00:00
commit a74782dfdf

View File

@ -33,17 +33,20 @@
<!-- Links --> <!-- Links -->
<section> <section>
<ul class="links"> <ul class="links">
<?php <?php
$parents = $pagesParents[NO_PARENT_CHAR]; $parents = $pagesParents[NO_PARENT_CHAR];
foreach($parents as $Parent) { foreach($parents as $Parent) {
echo '<li>'; // Check if the parent is published
echo '<a href="'.$Parent->permalink().'"> if( $Parent->published() )
<h3>'.$Parent->title().'</h3> {
<p>'.$Parent->description().'</p> echo '<li>';
</a>'; echo '<a href="'.$Parent->permalink().'">
echo '</li>'; <h3>'.$Parent->title().'</h3>
} <p>'.$Parent->description().'</p>
?> </a>';
echo '</li>';
}}
?>
</ul> </ul>
</section> </section>