feat: try to make it work

This commit is contained in:
Vitor Gonçalves 2023-07-02 22:01:54 -03:00
parent 7255520643
commit 1fe7a06a7a
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
1 changed files with 10 additions and 0 deletions

View File

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