htmly icon indicating copy to clipboard operation
htmly copied to clipboard

Tag recreated from file name (?) instead of tag comment in file

Open bluebirch opened this issue 4 years ago • 3 comments

For some reason, tag names are created from file names, not from the <!--tag tagname tag--> in the markdown files, resulting in all tags being lowercase and some tags having really weird names.

Example:

Screenshot of broken tag names

The tags "Agnäsbacken" and "Bjurholm" I have fixed by editing the corresponding blog entries and saving them again. But I can't do that will all posts!

Sometimes, numbers (current date and time) is added to the tag names as well.

bluebirch avatar Jul 29 '21 13:07 bluebirch

It's the tags.lang file that is broken. Can this be recreated somehow?

bluebirch avatar Jul 29 '21 13:07 bluebirch

The solution in #246 is not applicable, since only tags in that particular post is updated -- and the tags are also suffixed with the current date.

bluebirch avatar Jul 29 '21 14:07 bluebirch

I made a quick and dirty Perl hack to recreate the tags.lang file, but I think this should be a function available in the admin panel.

bluebirch avatar Jul 29 '21 15:07 bluebirch

Seems already fixed. I will close this one. Thanks

danpros avatar Dec 14 '23 10:12 danpros