diff --git a/bb.sh b/bb.sh index a00a238..0552f15 100755 --- a/bb.sh +++ b/bb.sh @@ -703,7 +703,8 @@ all_tags() { echo -n "." nposts="$(grep -c "<\!-- text begin -->" $i)" tagname="$(echo $i | cut -c $((${#prefix_tags}+3))- | sed 's/\.html//g')" - echo "
  • $tagname — $nposts $template_tags_posts
  • " >> "$contentfile" + i="`clean_filename $i`" + echo "
  • $tagname — $nposts $template_tags_posts
  • " >> "$contentfile" done echo "" echo "" >> "$contentfile"