1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 13:16:54 +02:00

Site Url without trailing slashes #186 #188

This commit is contained in:
Awilum
2014-01-06 19:49:39 +02:00
parent bbc74df954
commit 83f7be1c7d
5 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<?php foreach($posts as $post) { ?>
<a href="<?php echo Option::get('siteurl'); ?><?php echo Blog::$parent_page_name; ?>/<?php echo $post['slug']; ?>"><?php echo $post['title']; ?></a> <small class="monstra-blog-date"><?php echo Date::format($post['date'], 'd M Y'); ?></small><br>
<a href="<?php echo Option::get('siteurl'); ?>/<?php echo Blog::$parent_page_name; ?>/<?php echo $post['slug']; ?>"><?php echo $post['title']; ?></a> <small class="monstra-blog-date"><?php echo Date::format($post['date'], 'd M Y'); ?></small><br>
<?php echo $post['content']; ?>
<br><br>
<?php } ?>