diff options
-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| |