From 721630bec0f887e1bb2f9c5e7135b560318208c8 Mon Sep 17 00:00:00 2001 From: squibid Date: Sat, 11 Mar 2023 12:41:48 -0500 Subject: rewrite site and stop using iframes --- genblog | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 genblog (limited to '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 '

' >> 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)" - $name
" >> bloglist.html -done -echo '

' >> bloglist.html -- cgit v1.2.1