diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2008-09-21 00:41:30 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-09-21 00:41:30 +0200 |
commit | 0e7957329c967b9eae071dc920e89da30b6f7b97 (patch) | |
tree | 6bbc6b0586a3f7594722d537308419258757e4d8 | |
parent | a5b348806458057f2e76f648e9a2d339c5a27614 (diff) | |
download | trivium-0e7957329c967b9eae071dc920e89da30b6f7b97.tar.gz trivium-0e7957329c967b9eae071dc920e89da30b6f7b97.tar.xz trivium-0e7957329c967b9eae071dc920e89da30b6f7b97.zip |
Back to 10 entries on the front page
-rw-r--r-- | trivium.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trivium.rb b/trivium.rb index 5a6462d..a4b991b 100644 --- a/trivium.rb +++ b/trivium.rb @@ -137,7 +137,7 @@ monthly.each { |month, entries| end } -front = ENTRIES.first(2) #(10) +front = ENTRIES.first(10) d = front.map { |e| e[:file] } dep "html/index.html", "template/front.ht", *d do |dst| File.write(dst, template("template/front.ht", :entries => front, :next => monthly.last)) |