]>
git.bts.cx Git - cx.git/blob - cx/templates/public/list.php
   1 <?php 
cx_template_base('base'); ?
> 
   3 <?php 
foreach (cx_posts_get() as $post): ?
> 
   4 <?php 
$post_permalink = '/' . date('Y', $post->date
) . '/' . date('m', $post->date
) . '/' . $post->slug
; ?
> 
   6                 <h1
><a href
="<?= cx_url($post_permalink) ?>"><?
= $post->title ?
></a
></h1
> 
   7                 <p 
class="updated"><?
= date('l, F jS, Y',$post->date
) ?
></p
> 
   8                 <?php 
if ($post->html_excerpt
): ?
> 
   9                 <?
= $post->html_excerpt ?
> 
  10                 <p
><a href
="<?= cx_url($post_permalink) ?>">Read more
...</a
></p
> 
  12                 <?
= $post->html_content ?
>