[%- USE date(format = '%a, %d-%b-%Y') -%]
[%- WRAPPER site_wrapper.html 
  title = Post.title
-%]
[%- Post.record_hit -%]
  
  
      
        [% Post.title %] 
        [% IF ! Post.published %]
           
        [% END %]
        
      
      
         
          [% date.format(Post.ts) %] by 
          [% Post.author.full_name %]
        
        
        [% IF scaffold.edit_post_link %]
          
             edit post
          
        [% END %]
        
        
      
      [% content %]
      
      
        Category: 
        [% IF Post.num_categories %]
          [% FOREACH category IN Post.category_list %]
            
[% category %]
            [% IF loop.next() %], [% END %]
          [% END %]
        [% ELSE %]
          (none)
        [% END %]
      
      
      [% INCLUDE private/post_comments.html %]
    
  
  
 
[% END %]