Had to fix an issue in the blog post generation function. Was providing absolute path instead of relative
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
<hr />
|
||||
<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 />
|
||||
</p>
|
||||
|
||||
|
@@ -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
|
||||
`
|
||||
|
Reference in New Issue
Block a user