hack to fix anchor placement
parent
4858b0121b
commit
081ff09c9c
4
make.sh
4
make.sh
|
@ -60,8 +60,8 @@ do
|
|||
else
|
||||
# HTML
|
||||
echo "<div class=\"title\">" >> $htmlIndex
|
||||
echo "<h2>${title}</h2>" >> $htmlIndex
|
||||
echo "<a class=\"pubdate\" name=\"${slug}\" href=\"https://tilde.town/~vilmibm/blog#${slug}\">${pubdate}</a>" >> $htmlIndex
|
||||
echo "<h2>${title}<a name=\"${slug}\"></a></h2>" >> $htmlIndex
|
||||
echo "<a class=\"pubdate\" href=\"https://tilde.town/~vilmibm/blog#${slug}\">${pubdate}</a>" >> $htmlIndex
|
||||
echo "</div>" >> $htmlIndex
|
||||
echo "<div class=\"post\">" >> $htmlIndex
|
||||
grep -v "pubdate:" $p | grep -v "title:" | grep -v "slug:" | $lp --mode "html" | pandoc -fmarkdown -thtml >> $htmlIndex
|
||||
|
|
Loading…
Reference in New Issue