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 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]}">« Previously</a> -$ end +<a class="prev" href="${self[:entries].last[:date].strftime("%Y-%m")}">« Previously</a> </small> <address class="author vcard" |