aboutsummaryrefslogtreecommitdiff
path: root/src/make_index.md.sh
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2024-10-24 19:50:15 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2024-10-24 19:50:15 -0500
commit015932a62e400e7d595777b6b29f64e60ae12943 (patch)
treefe079726bcf33ba5f7430d6d96ac7e42644d9197 /src/make_index.md.sh
parentf824bbcca25b4caaef8023cf36efaaed37e7257f (diff)
changes
Diffstat (limited to 'src/make_index.md.sh')
-rwxr-xr-xsrc/make_index.md.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/make_index.md.sh b/src/make_index.md.sh
deleted file mode 100755
index 544b90c..0000000
--- a/src/make_index.md.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env bash
-
-links="---
-title: All Stories
----
-
-"
-
-for i in md/*.md; do
- title=$(grep '^title:' $i | tr -d '"' | sed -E 's/^title: (.*)$/\1/')
-
- no_ext=$(basename "${i%.*}")
- link="- [$title](/stories/${no_ext}.html)
-"
-
- links+="$link"
-done
-
-echo "$links"