diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2008-10-03 17:19:56 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-10-03 17:19:56 +0200 |
commit | cae3b6c56b680dd4093f6851c201fefffb0afe0b (patch) | |
tree | 11f01b995177498e73f548df763588168b21db0f | |
parent | 45a389bb3f4e2e8a4e4c4ccfdd5b51558468bc85 (diff) | |
download | trivium-cae3b6c56b680dd4093f6851c201fefffb0afe0b.tar.gz trivium-cae3b6c56b680dd4093f6851c201fefffb0afe0b.tar.xz trivium-cae3b6c56b680dd4093f6851c201fefffb0afe0b.zip |
Fix Previously link
-rw-r--r-- | template/front.ht | 4 |
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]}">« Previously</a> -$ end +<a class="prev" href="${self[:entries].last[:date].strftime("%Y-%m")}">« Previously</a> </small> $ self[:entries].each { |entry| |