cfenollosa / bashblog

A single Bash script to create blogs. Download, run, write, done!
1.66k stars 228 forks source link

Remove .html extension from list of tags in terminal #168

Open guites opened 2 years ago

guites commented 2 years ago

I realized the list_tags() had a typo, it is using a # instead of %, so it tries to remove the .html from the beginning of the tagname variable.

before

./bb.sh tags beware-with-underscores-in-markdown.html 1 post example.html 1 post keep-this-tag-format.html 1 post tags-are-optional.html 1 post

after

./bb.sh tags beware-with-underscores-in-markdown 1 post example 1 post keep-this-tag-format 1 post tags-are-optional 1 post

I think this doesn't conflict with anything else.

Cheers!