diff options
Diffstat (limited to 'index')
-rwxr-xr-x | index | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#!/usr/bin/env ruby +# -*- coding: utf-8 -*- +load 'util.rb' + +template = "index.#{ARGV.shift}.erb" + +@pages = [] +for filename in ARGV do + @pages.push(Page.new(filename)) +end + +erb = ERB.new(File.read(template)); +erb.filename = template +erb.run() |