$ if self[:entries].first[:prev_by_month]
$ end $ if self[:entries].first[:next_by_month]
$ end
$ if self[:entries].first[:prev_by_month]
« ${Time.parse(self[:entries].first[:prev_by_month]).strftime("%B %Y")}
$ end $ if self[:entries].first[:next_by_month]
${Time.parse(self[:entries].first[:next_by_month]).strftime("%B %Y")} »
$ end
$ self[:entries].each { |entry|
${entry[:title]}
$:{format entry}
$ }
$ if self[:entries].first[:prev_by_month]
« ${Time.parse(self[:entries].first[:prev_by_month]).strftime("%B %Y")}
$ end $ if self[:entries].first[:next_by_month]
${Time.parse(self[:entries].first[:next_by_month]).strftime("%B %Y")} »
$ end
Copyright © 2008
Christian Neukirchen