Explorar o código

Readable theme should include links to prev/next page.

Brit Butler %!s(int64=10) %!d(string=hai) anos
pai
achega
6073122961
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      themes/readable/index.tmpl

+ 6 - 0
themes/readable/index.tmpl

@@ -9,6 +9,12 @@
9 9
     {$obj.text |noAutoescape}
10 10
   </div>
11 11
 {/foreach}
12
+<div id="relative-nav">
13
+  <div class="row-fluid">
14
+    {if $prev} <a href="{$config.domain}/{$prev.url}">Previous</a> {/if}
15
+    {if $next} <a href="{$config.domain}/{$next.url}">Next</a> {/if}
16
+  </div>
17
+</div>
12 18
 {if $tags}
13 19
 <div class="row-fluid">
14 20
   <p>This blog covers