hack to fix anchor placement

trunk
vilmibm 2023-04-13 05:46:04 +00:00
parent 4858b0121b
commit 081ff09c9c
1 changed files with 2 additions and 2 deletions

View File

@ -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