summaryrefslogtreecommitdiff
path: root/bin/index
diff options
context:
space:
mode:
Diffstat (limited to 'bin/index')
-rwxr-xr-xbin/index6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/index b/bin/index
index dc57798..48968a3 100755
--- a/bin/index
+++ b/bin/index
@@ -24,8 +24,12 @@ else
metadata = {}
end
-# ARGV[2..]
@pages = []
+for data in metadata['external']
+ @pages.push(ExternPage.new(data))
+end
+
+# ARGV[2..]
for filename in ARGV do
@pages.push(Page.new(filename))
end