bludit/themes/pure/php/home.php

22 lines
618 B
PHP
Raw Normal View History

2015-03-08 18:02:59 +01:00
<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>
2015-05-19 02:11:44 +02:00
<span>Date: <?php echo $Post->dateCreated() ?></span>
2015-03-08 18:02:59 +01:00
</p>
</header>
<div class="post-description">
<?php echo $Post->content() ?>
</div>
</section>
2015-06-28 01:28:22 +02:00
<?php endforeach; ?>