mirror of https://codeberg.org/g1n/www.git
9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
printf "20 text/gemini\r\n"
|
||
|
printf "my bashblog posts\r\n"
|
||
|
user=$(stat -c '%U' $0)
|
||
|
for post in $(ls -t /home/$user/public_gemini/blog/*.md); do
|
||
|
post=$(basename $post)
|
||
|
printf "=> /~$user/blog/$post $post\r\n"
|
||
|
done
|