Skip to content

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

Open
guites wants to merge 1 commit into
cfenollosa:masterfrom
guites:rm_extension_list_tags
Open

guites wants to merge 1 commit into
cfenollosa:masterfrom
guites:rm_extension_list_tags

Conversation

@guites

@guites guites commented Jan 28, 2022

Copy link
Copy Markdown

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant