Quellcode durchsuchen

Adios comments!

Brit Butler vor 13 Jahren
Ursprung
Commit
6a71773c0c
3 geänderte Dateien mit 0 neuen und 29 gelöschten Zeilen
  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
-{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
     <a class="article-title" href="{$post.url}">{$post.title}</a>
25
     <a class="article-title" href="{$post.url}">{$post.title}</a>
26
     <div class="date"> posted on {$post.date}</div>
26
     <div class="date"> posted on {$post.date}</div>
27
     <div class="article">{$post.contents |noAutoescape}</div>
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
   </div>
28
   </div>
34
 {/foreach}
29
 {/foreach}
35
 <div id="relative-nav">
30
 <div id="relative-nav">

+ 0 - 9
themes/hyde/post.tmpl

17
   {if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n}
17
   {if $prev} <a href="{$prev}">Previous</a><br> {/if}{\n}
18
   {if $next} <a href="{$next}">Next</a><br> {/if}{\n}
18
   {if $next} <a href="{$next}">Next</a><br> {/if}{\n}
19
 </div>{\n}
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
 {/template}
20
 {/template}