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:
parent
8faa1b9430
commit
4efd62d04e
@ -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
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user