rewrite site and stop using iframes

This commit is contained in:
2023-03-11 12:41:48 -05:00
parent 53ba59c39d
commit 721630bec0
13 changed files with 102 additions and 32 deletions

15
genblog
View File

@ -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