blog: removed recent.sh
i'm not a cgi master enough to do that
This commit is contained in:
parent
917dc06b07
commit
bc6f635b59
|
@ -3,7 +3,5 @@
|
|||
|
||||
<h1>Recent blog posts:</h1>
|
||||
|
||||
<!--#include virtual="/cgi-bin/recent.sh" -->
|
||||
|
||||
<!--#include file="/footer.html" -->
|
||||
</html>
|
||||
|
|
|
@ -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>"
|
Loading…
Reference in New Issue