From 325bdfcb8dbd24f3495587cee3451185cc2284cb Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Sat, 23 Apr 2011 21:32:18 -0400 Subject: [PATCH] Update the hyde template to support non-disqus comments. --- themes/hyde/comment.tmpl | 13 +++++++++++++ themes/hyde/post.tmpl | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 themes/hyde/comment.tmpl diff --git a/themes/hyde/comment.tmpl b/themes/hyde/comment.tmpl new file mode 100644 index 0000000..cef874a --- /dev/null +++ b/themes/hyde/comment.tmpl @@ -0,0 +1,13 @@ +{namespace coleslaw.theme.hyde} + +{template comment} +
  • +
    {$comment.author}

    +
    {$comment.content |noAutoescape}

    +
    + {$comment.timestamp} + | + Permalink +
    +
  • +{/template} diff --git a/themes/hyde/post.tmpl b/themes/hyde/post.tmpl index 6d6c525..a825665 100644 --- a/themes/hyde/post.tmpl +++ b/themes/hyde/post.tmpl @@ -18,6 +18,12 @@ {if $next} Next
    {/if}{\n} {\n} {if $comments} -
    {$comments |noAutoescape}
    +
    +

    {length($comments)} comments

    +
      + {foreach $comment in $comments} + {call comment data="$comment" /}{\n} + {/foreach} +
    {/if} {/template}