]>
git.bts.cx Git - cx.git/blob - cx/templates/public/post.php
9fb9fcea5b51674d35357b4bd9a1a448a6aa9d25
1 <?php
cx_template_base('base'); ?
>
3 <?php
$post = cx_posts_find_post($post_id); ?
>
5 <?php
$post_permalink = '/' . date('Y', $post->date
) . '/' . date('m', $post->date
) . '/' . $post->slug
; ?
>
7 <h1
><a href
="<?= cx_url($post_permalink) ?>"><?
= $post->title ?
></a
></h1
>
8 <p
class="updated"><?
= date('l, F jS, Y',$post->date
) ?
></p
>
9 <?
= $post->html_content ?
>