diff options
Diffstat (limited to 'template/monthly.ht')
-rw-r--r-- | template/monthly.ht | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/template/monthly.ht b/template/monthly.ht index 768cdbc..ae7e992 100644 --- a/template/monthly.ht +++ b/template/monthly.ht @@ -21,11 +21,11 @@ $ end <small class="top nav"> $ if self[:entries].first[:prev_by_month] -<a class="prev" href="${self[:entries].first[:prev_by_month]}">« ${Time.parse(self[:entries].first[:prev_by_month]).strftime("%B %Y")}</a> +<a class="prev" href="${self[:entries].first[:prev_by_month]}">« ${Time.parse(self[:entries].first[:prev_by_month] + "-01").strftime("%B %Y")}</a> $ end $ if self[:entries].first[:next_by_month] -<a class="next" href="${self[:entries].first[:next_by_month]}">${Time.parse(self[:entries].first[:next_by_month]).strftime("%B %Y")} »</a> +<a class="next" href="${self[:entries].first[:next_by_month]}">${Time.parse(self[:entries].first[:next_by_month] + "-01").strftime("%B %Y")} »</a> $ end </small> @@ -47,16 +47,16 @@ $ } <small class="bot nav"> $ if self[:entries].first[:prev_by_month] -<a class="prev" href="${self[:entries].first[:prev_by_month]}">« ${Time.parse(self[:entries].first[:prev_by_month]).strftime("%B %Y")}</a> +<a class="prev" href="${self[:entries].first[:prev_by_month]}">« ${Time.parse(self[:entries].first[:prev_by_month] + "-01").strftime("%B %Y")}</a> $ end $ if self[:entries].first[:next_by_month] -<a class="next" href="${self[:entries].first[:next_by_month]}">${Time.parse(self[:entries].first[:next_by_month]).strftime("%B %Y")} »</a> +<a class="next" href="${self[:entries].first[:next_by_month]}">${Time.parse(self[:entries].first[:next_by_month] + "-01").strftime("%B %Y")} »</a> $ end </small> <address class="author vcard"> -Copyright © 2008, 2009 <a class="email fn" href="mailto:chneukirchen@gmail.com">Christian Neukirchen</a> +Copyright © 2008, 2009, 2010 <a class="email fn" href="mailto:chneukirchen@gmail.com">Christian Neukirchen</a> </address> </div> |