16 lines
254 B
Bash
16 lines
254 B
Bash
|
year=2023
|
||
|
|
||
|
echo "## In $year..."
|
||
|
echo
|
||
|
|
||
|
for dir in */*/*
|
||
|
do
|
||
|
index_path="$(pwd)/$dir/index.md"
|
||
|
title="$(cat $index_path | head -n 1)"
|
||
|
url="https://nunosempere.com/$year/$dir"
|
||
|
# echo $dir
|
||
|
# echo $index_path
|
||
|
# echo $title
|
||
|
echo "- [$title]($url)"
|
||
|
done
|