mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-11 23:54:10 +02:00
Add Monstra from HG Commit 683dcb70c4cc
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
<?php foreach ($pages as $page) { ?>
|
||||
<li><a href="<?php echo $page['parent'].'/'.$page['slug']; ?>"><?php echo $page['title']; ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
5
plugins/box/pages/views/frontend/breadcrumbs.view.php
Normal file
5
plugins/box/pages/views/frontend/breadcrumbs.view.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php if ($parent) { ?>
|
||||
<a href="<?php echo Site::url().$page['parent']; ?>"><?php echo $parent_page['title']; ?></a> <span>→</span> <a href="<?php echo Site::url().$page['parent'].'/'.$page['slug']; ?>"><?php echo $page['title']; ?></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo Site::url().$page['slug']; ?>"><?php echo $page['title']; ?></a>
|
||||
<?php } ?>
|
Reference in New Issue
Block a user