summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-10-03 18:47:34 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2008-10-03 18:47:34 +0200
commitbca3165c5ae20f59a68884fc6110f19fa7c7fc0b (patch)
tree439d41281bc4dbb55e2fb76caeb833f641387209
parent3f3e9e971cc74cb8e01f685f097171e856e81a92 (diff)
downloadtrivium-bca3165c5ae20f59a68884fc6110f19fa7c7fc0b.tar.gz
trivium-bca3165c5ae20f59a68884fc6110f19fa7c7fc0b.tar.xz
trivium-bca3165c5ae20f59a68884fc6110f19fa7c7fc0b.zip
Fix all previously links
-rw-r--r--template/front.ht4
1 files changed, 1 insertions, 3 deletions
diff --git a/template/front.ht b/template/front.ht
index 636e709..f53535f 100644
--- a/template/front.ht
+++ b/template/front.ht
@@ -36,9 +36,7 @@ $:{format entry}
 $ }
 
 <small class="bot nav">
-  $ if self[:entries].last[:prev_by_month]
-<a class="prev" href="${self[:entries].last[:prev_by_month]}">&#xab; Previously</a>
-$ end
+<a class="prev" href="${self[:entries].last[:date].strftime("%Y-%m")}">&#xab; Previously</a>
 </small>
 
 <address class="author vcard"