aboutsummaryrefslogtreecommitdiff
path: root/_site_listings/generate.sh
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-22 13:06:19 -0500
committerBradley Taunt <bt@btxx.org>2024-01-22 13:06:19 -0500
commitd2e4da10c806d815eded44ade076babb78802c16 (patch)
tree7494261e22f3255926204164449c7345f5b500e5 /_site_listings/generate.sh
Initial commit to new cgit platform
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