Fixed additional characters in all_tags.html

This commit is contained in:
Carlos Fenollosa 2014-05-20 10:16:34 +02:00
parent e5b831b375
commit efbb68dfb4

3
bb.sh
View File

@ -703,7 +703,8 @@ all_tags() {
echo -n "." echo -n "."
nposts="$(grep -c "<\!-- text begin -->" $i)" nposts="$(grep -c "<\!-- text begin -->" $i)"
tagname="$(echo $i | cut -c $((${#prefix_tags}+3))- | sed 's/\.html//g')" tagname="$(echo $i | cut -c $((${#prefix_tags}+3))- | sed 's/\.html//g')"
echo "<li><a href="$i">$tagname</a> &mdash; $nposts $template_tags_posts</li>" >> "$contentfile" i="`clean_filename $i`"
echo "<li><a href=\"$i\">$tagname</a> &mdash; $nposts $template_tags_posts</li>" >> "$contentfile"
done done
echo "" echo ""
echo "</ul>" >> "$contentfile" echo "</ul>" >> "$contentfile"