mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-06 13:16:54 +02:00
Blog Plugin as a part of Monstra CMS #188
This commit is contained in:
27
public/themes/default/blog.template.php
Normal file
27
public/themes/default/blog.template.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php Chunk::get('header'); ?>
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<?php Action::run('theme_pre_content'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<?php echo Blog::getPosts(3); ?>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<h3>Tags</h3>
|
||||
<?php echo Blog::getTags(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<?php Action::run('theme_post_content'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<?php Chunk::get('footer'); ?>
|
Reference in New Issue
Block a user