Brit Butler 13 anni fa
parent
commit
558a04e696
1 ha cambiato i file con 11 aggiunte e 12 eliminazioni
  1. 11 12
      themes/hyde/index.tmpl

+ 11 - 12
themes/hyde/index.tmpl

@@ -1,6 +1,17 @@
1 1
 {namespace coleslaw.theme.hyde}
2 2
 
3 3
 {template index}
4
+{foreach $post in $posts}
5
+  <div class="article-meta">
6
+    <a class="article-title" href="{$post.url}">{$post.title}</a>
7
+    <div class="date"> posted on {$post.date}</div>
8
+    <div class="article">{$post.contents |noAutoescape}</div>
9
+  </div>
10
+{/foreach}
11
+<div id="relative-nav">
12
+  {if $prev} <a href="{$prev}">Previous</a> {/if}
13
+  {if $next} <a href="{$next}">Next</a> {/if}
14
+</div>
4 15
 {if $taglinks}
5 16
 <div id="tagsoup">
6 17
   <p>This blog covers
@@ -19,16 +30,4 @@
19 30
     {/foreach}
20 31
 </div>
21 32
 {/if}
22
-<h1>{$title}</h1>
23
-{foreach $post in $posts}
24
-  <div class="article-meta">
25
-    <a class="article-title" href="{$post.url}">{$post.title}</a>
26
-    <div class="date"> posted on {$post.date}</div>
27
-    <div class="article">{$post.contents |noAutoescape}</div>
28
-  </div>
29
-{/foreach}
30
-<div id="relative-nav">
31
-  {if $prev} <a href="{$prev}">Previous</a> {/if}
32
-  {if $next} <a href="{$next}">Next</a> {/if}
33
-</div>
34 33
 {/template}