summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-10-03 17:19:56 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2008-10-03 17:19:56 +0200
commitcae3b6c56b680dd4093f6851c201fefffb0afe0b (patch)
tree11f01b995177498e73f548df763588168b21db0f
parent45a389bb3f4e2e8a4e4c4ccfdd5b51558468bc85 (diff)
downloadtrivium-cae3b6c56b680dd4093f6851c201fefffb0afe0b.tar.gz
trivium-cae3b6c56b680dd4093f6851c201fefffb0afe0b.tar.xz
trivium-cae3b6c56b680dd4093f6851c201fefffb0afe0b.zip
Fix Previously link
-rw-r--r--template/front.ht4
1 files changed, 1 insertions, 3 deletions
diff --git a/template/front.ht b/template/front.ht
index ba7b854..636e709 100644
--- a/template/front.ht
+++ b/template/front.ht
@@ -15,9 +15,7 @@
 <small class="top nav">
 <a href="intro">Intro</a>
 <a href="index.atom">Subscribe</a>
-$ 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>
 
 $ self[:entries].each { |entry|