diff options
Diffstat (limited to 'bin/page')
-rwxr-xr-x | bin/page | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/page b/bin/page deleted file mode 100755 index e2d4f38..0000000 --- a/bin/page +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env ruby -# -*- coding: utf-8 -*- -require 'util' -require 'uri' - -template = "bin/page.#{ARGV[0]}.erb" -@page = Page.new(ARGV[1]) -@url = URI::parse('https://www.andrewdm.me/') + @page.absoutpath - -erb = ERB.new(File.read(template)); -erb.filename = template -erb.run() |