summary refs log tree commit diff
path: root/trivium.rb
diff options
context:
space:
mode:
Diffstat (limited to 'trivium.rb')
-rw-r--r--trivium.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/trivium.rb b/trivium.rb
index bbb43d1..3ef8020 100644
--- a/trivium.rb
+++ b/trivium.rb
@@ -168,5 +168,9 @@ dep "html/index.atom", "template/atom.ht", *d do |dst|
   File.write(dst, template("template/atom.ht",
                            :entries => feed, :time => Time.now))
 end
+dep "html/index.json", "template/json.ht", *d do |dst|
+  File.write(dst, template("template/json.ht",
+                           :entries => feed, :time => Time.now))
+end
 
 system "rsync -r data/ html"