bludit/themes/pure/php/home.php
2015-05-18 21:11:44 -03:00

22 lines
618 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->dateCreated() ?></span>
</p>
</header>
<div class="post-description">
<?php echo $Post->content() ?>
</div>
</section>
<?php endforeach; ?>