fix: idk i'm dumb

This commit is contained in:
Vitor Gonçalves 2023-07-02 22:06:19 -03:00
parent 1fe7a06a7a
commit c64e85786b
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
1 changed files with 3 additions and 4 deletions

7
blog/recent.sh Normal file → Executable file
View File

@ -2,11 +2,10 @@
printf "Content-type: text/html\n\n"
three_latest=\
"$(fd '\d{4}-\d{2}-\d{2}-.*\.md' /blog/content | sort -r | head -n 3)"
three_latest="$(fd '\d{4}-\d{2}-\d{2}-.*\.md' ./content | sort -r | head -n 3)"
for i in three_latest; do
printf "\n<hr>\n\n"
for i in $three_latest; do
printf "<br><hr>\n"
lowdown $i
done