blog: removed recent.sh

i'm not a cgi master enough to do that
This commit is contained in:
Vitor Gonçalves 2023-12-05 01:54:22 -03:00
parent 917dc06b07
commit bc6f635b59
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
2 changed files with 0 additions and 15 deletions

View File

@ -3,7 +3,5 @@
<h1>Recent blog posts:</h1>
<!--#include virtual="/cgi-bin/recent.sh" -->
<!--#include file="/footer.html" -->
</html>

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
printf "Content-type: text/html\n\n"
three_latest="$(fd '\d{4}-\d{2}-\d{2}-.*\.md' ./content | sort -r | head -n 3)"
for i in $three_latest; do
printf "<br><hr>\n"
lowdown $i
done
printf "<p>this is the recentest post lol</p>"