bludit/themes/pure/php/home.php
Diego Najar 29d06b62a3 mac
2015-03-08 14:02:59 -03:00

23 lines
612 B
PHP

<h1 class="content-subhead">Recent Posts</h1>
<?php foreach ($posts as $Post): ?>
<section class="post">
<header class="post-header">
<h2 class="post-title">
<a class="ptitle" href="<?php echo $Post->permalink() ?>"><?php echo $Post->title() ?></a>
</h2>
<p class="post-meta">
<span><?php echo $Language->get('Posted By').' '.$Post->author() ?></span>
<span>Date: <?php echo $Post->date() ?></span>
</p>
</header>
<div class="post-description">
<?php echo $Post->content() ?>
</div>
</section>
<?php endforeach; ?>