1 <h1
>Posts
<a href
="<?php echo admin_url('posts/add'); ?>">Create a
new post
</a
></h1
>
3 <?php
echo Notifications
::read(); ?
>
5 <section
class="content">
6 <?php
if($posts->length()): ?
>
8 <?php
foreach($posts as $article): ?
>
10 <a href
="<?php echo admin_url('posts/edit/' . $article->id); ?>">
11 <strong
><?php
echo truncate($article->title
, 4); ?
></strong
>
12 <span
>Created
<time
><?php
echo date(Config
::get('metadata.date_format'), $article->created
); ?
></time
>
13 by
<?php
echo $article->author
; ?
></span
>
15 <i
class="status"><?php
echo $article->status
; ?
></i
>
21 <p
>No posts just yet
. Why not
<a href
="<?php echo admin_url('posts/add'); ?>">write a
new one
</a
>?
</p
>