Had to fix an issue in the blog post generation function. Was providing absolute path instead of relative

This commit is contained in:
2023-09-06 12:37:28 -05:00
parent 267d0dc4d1
commit 5800bce352
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ last 5 posts
TITLES=""
for page in ${last_few_posts[@]}; do
read JUNK TITLE <<< "$( grep '%title' $page )"
TITLES="${TITLES}\n - [[$page|$TITLE]]"
TITLES="${TITLES}\n - [[$(basename page)|$TITLE]]"
done
echo $TITLES
`