Had to fix an issue in the blog post generation function. Was providing absolute path instead of relative
This commit is contained in:
parent
267d0dc4d1
commit
5800bce352
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<p>
|
<p>
|
||||||
<a href="index.html">Index</a> <a href="home/tristan/Blog/blog/hello-world.html">Hello World</a>
|
<a href="index.html">Index</a> <a href="hello-world.html">Hello World</a>
|
||||||
<hr />
|
<hr />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -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 - [[$page|$TITLE]]"
|
TITLES="${TITLES}\n - [[$(basename page)|$TITLE]]"
|
||||||
done
|
done
|
||||||
echo $TITLES
|
echo $TITLES
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user