aboutsummaryrefslogtreecommitdiff
path: root/_site_listings/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to '_site_listings/generate.sh')
-rw-r--r--_site_listings/generate.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/_site_listings/generate.sh b/_site_listings/generate.sh
new file mode 100644
index 0000000..b16921f
--- /dev/null
+++ b/_site_listings/generate.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+#define parameters which are passed in.
+SIZE=$1
+URL=$2
+
+#define the template.
+cat << EOF > $URL.md
+---
+pageurl: $URL
+size: $SIZE
+---
+EOF