Flexible Lisp Blogware. Fork for personal use. Mirrored from https://github.com/kingcons/coleslaw originally.

post.tmpl 768B

123456789101112131415161718192021222324252627282930
  1. {namespace coleslaw.theme.hyde}
  2. {template post}
  3. <div class="article-meta">{\n}
  4. <h1 class="title">{$title}</h1>{\n}
  5. <div class="tags">{\n}
  6. Tagged as {$tags}
  7. </div>{\n}
  8. <div class="date">{\n}
  9. Written on {$date}
  10. </div>{\n}
  11. </div>{\n}
  12. <div class="article-content">{\n}
  13. {$content |noAutoescape}
  14. </div>{\n}
  15. <div class="relative-nav">{\n}
  16. {if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n}
  17. {if $next} <a href="{$next}">Next</a><br> {/if}{\n}
  18. </div>{\n}
  19. {if $comments}
  20. <div class="comments">
  21. <h3 class="comment-header" id="numcomments">{length($comments)} comments</h3>
  22. <ol id="comments" class="commentlist">
  23. {foreach $comment in $comments}
  24. {call comment data="$comment" /}{\n}
  25. {/foreach}
  26. </div>
  27. {/if}
  28. {/template}