1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-04 12:17:42 +02:00

Blog Plugin as a part of Monstra CMS

This commit is contained in:
Awilum
2014-01-03 19:07:05 +02:00
parent 79f4abe6bd
commit 83264e41f3
12 changed files with 487 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?php if ($parent) { ?>
<a href="<?php echo Site::url().$page['parent']; ?><?php if(Notification::get('tag')) { ?>?tag=<?php echo Notification::get('tag'); ?><?php } ?>"><?php echo $parent_page['title']; ?></a>&nbsp;<span>&rarr;</span>&nbsp;<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 if(Notification::get('tag')) { ?>?tag=<?php echo Notification::get('tag'); ?><?php } ?>"><?php echo $page['title']; ?></a>
<?php } ?>