Had to add $ at the beginning of page in generate_blog_post as it wouldn't generate valid post links in 'last 5 posts'

This commit is contained in:
Tristan Ancelet 2023-10-30 22:58:39 -05:00
parent 8faa1b9430
commit 4efd62d04e

View File

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