Manual fix for #54

This commit is contained in:
Carlos Fenollosa 2014-06-30 09:06:54 +02:00
parent 8e6d61539f
commit 44ec89ae2c

2
bb.sh
View file

@ -785,7 +785,7 @@ tags_in_post() {
# Prints one line with space-separated tags to stdout
posts_with_tags() {
[ $# -lt 1 ] && return
tag_files="$(echo "$@" | sed "s/\S\+/tag_&.html/g")"
tag_files="$(echo "$@" | sed "s/\S\+/$prefix_tags_&.html/g")"
sed -n '/^<h3><a class="ablack" href="[^"]*">/{s/.*href="\([^"]*\)">.*/\1/;p}' $tag_files
}