Remove .html extension from list of tags in terminal
This commit is contained in:
parent
1715ee1d60
commit
9a94374fcd
1 changed files with 1 additions and 1 deletions
2
bb.sh
2
bb.sh
|
@ -869,7 +869,7 @@ list_tags() {
|
|||
[[ -f "$i" ]] || break
|
||||
nposts=$(grep -c "<\!-- text begin -->" "$i")
|
||||
tagname=${i#"$prefix_tags"}
|
||||
tagname=${tagname#.html}
|
||||
tagname=${tagname%.html}
|
||||
((nposts > 1)) && word=$template_tags_posts || word=$template_tags_posts_singular
|
||||
line="$tagname # $nposts # $word"
|
||||
lines+=$line\\n
|
||||
|
|
Loading…
Reference in a new issue