Explorar o código

Adios comments!

Brit Butler %!s(int64=13) %!d(string=hai) anos
pai
achega
6a71773c0c
Modificáronse 3 ficheiros con 0 adicións e 29 borrados
  1. 0 15
      themes/hyde/comment.tmpl
  2. 0 5
      themes/hyde/index.tmpl
  3. 0 9
      themes/hyde/post.tmpl

+ 0 - 15
themes/hyde/comment.tmpl

@@ -1,15 +0,0 @@
1
-{namespace coleslaw.theme.hyde}
2
-
3
-{template comment}
4
-<li id="{$comment.id}" class="comment">
5
-  <div class="comment-author"
6
-    <a href="{$comment.author.url}">{$comment.author.name}</a>
7
-  </div><br>
8
-  <div class="comment-content">{$comment.content |noAutoescape}</div><br>
9
-  <div class="comment-meta">
10
-    <span class="comment-datetime">{$comment.timestamp}</span>
11
-    <span class="meta-sep">|</span>
12
-    <span class="comment-permalink"><a href="{$comment.url}">Permalink</a></span>
13
-  </div>
14
-</li>
15
-{/template}

+ 0 - 5
themes/hyde/index.tmpl

@@ -25,11 +25,6 @@
25 25
     <a class="article-title" href="{$post.url}">{$post.title}</a>
26 26
     <div class="date"> posted on {$post.date}</div>
27 27
     <div class="article">{$post.contents |noAutoescape}</div>
28
-    {if $count}
29
-      <div class="comment-count">
30
-        <a href="{$post.url}">{$post.comments} comments</a>
31
-      </div>
32
-    {/if}
33 28
   </div>
34 29
 {/foreach}
35 30
 <div id="relative-nav">

+ 0 - 9
themes/hyde/post.tmpl

@@ -17,13 +17,4 @@
17 17
   {if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n}
18 18
   {if $next} <a href="{$next}">Next</a><br> {/if}{\n}
19 19
 </div>{\n}
20
-{if $comments}
21
-  <div class="comments">
22
-    <h3 class="comment-header" id="numcomments">{length($comments)} comments</h3>
23
-    <ol id="comments" class="commentlist">
24
-      {foreach $comment in $comments}
25
-        {call comment data="$comment" /}{\n}
26
-      {/foreach}
27
-  </div>
28
-{/if}
29 20
 {/template}