first commit
This commit is contained in:
17
modules/phblogrecentposts/views/templates/hook/recent.tpl
Normal file
17
modules/phblogrecentposts/views/templates/hook/recent.tpl
Normal file
@@ -0,0 +1,17 @@
|
||||
{if isset($recent_posts) && count($recent_posts)}
|
||||
<section class="simpleblog" id="phblogrecentposts" itemscope="itemscope" itemtype="http://schema.org/Blog">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h3 class="h1">
|
||||
{l s='Blog' mod='phblogrecentposts'}
|
||||
<a href="{$blogLink}">
|
||||
{l s='See all articles' mod='phblogrecentposts'}
|
||||
</a>
|
||||
</h3>
|
||||
{foreach from=$recent_posts item=post}
|
||||
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-miniature.tpl"}
|
||||
{/foreach}
|
||||
</div><!-- .row -->
|
||||
</div><!-- .container -->
|
||||
</section><!-- .section-news -->
|
||||
{/if}
|
||||
Reference in New Issue
Block a user