summaryrefslogtreecommitdiffstats
path: root/gen
diff options
context:
space:
mode:
authorsquibid <me@zacharyscheiman.com>2023-03-11 12:41:48 -0500
committersquibid <me@zacharyscheiman.com>2023-03-11 12:41:48 -0500
commit721630bec0f887e1bb2f9c5e7135b560318208c8 (patch)
treeb624f613af81e01d462e9ae400a07a08af95ef47 /gen
parent53ba59c39dab56533ec965bfdfc28bd98ab38db0 (diff)
downloadsite-721630bec0f887e1bb2f9c5e7135b560318208c8.tar.gz
site-721630bec0f887e1bb2f9c5e7135b560318208c8.tar.bz2
site-721630bec0f887e1bb2f9c5e7135b560318208c8.zip
rewrite site and stop using iframes
Diffstat (limited to '')
-rwxr-xr-xgen4
-rwxr-xr-xgenblog15
2 files changed, 4 insertions, 15 deletions
diff --git a/gen b/gen
new file mode 100755
index 0000000..d4894d7
--- /dev/null
+++ b/gen
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./scripts/gengit
+./scripts/genblog
diff --git a/genblog b/genblog
deleted file mode 100755
index 0705892..0000000
--- a/genblog
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-blogs=$(ls -ct1 blog/*.html)
-date() {
- ls -ct1l --time-style=+'%Y %b %d' $1 | cut -d ' ' -f 6-8
-}
-[ -f bloglist.html ] && rm bloglist.html
-echo '<p style="font-family: sans-serif; color: white;">' >> bloglist.html
-[ "$blogs" ] || echo "No blogs yet :)" >> bloglist.html
-
-for i in $blogs; do
- name=$(echo $i | sed 's/blog\///' | sed 's/\..*//')
- echo $(date $i)" - <a href=\"https://squi.bid/$i\" target=\"top\" id=\"link\">$name</a><br>" >> bloglist.html
-done
-echo '</p>' >> bloglist.html