The tag extension doesn't seem like it would properly support a tag like in memoriam as the directory would contain a space. Similarly, I think it would fail if I were a huge fan of AC/DC and wanted to tag posts with AC/DC.
I can see a couple of ways that this could be handled:
- the tag extension can convert a tag into a tag
slug (downcase, replace non-word character chains with single -) and set the slug during processing;
- the
permalink for the tag joins the slug instead of the tag itself.
Alternatively, the list of tags could be
tags:
- name: in memoriam
slug: in-memoriam
If a string is given (as it is now), then it's either used "as-is" or converted to a slug.
I prefer the automatic slug conversion as it makes it harder to accidentally give the same tag name multiple slugs.
The tag extension doesn't seem like it would properly support a tag like
in memoriamas the directory would contain a space. Similarly, I think it would fail if I were a huge fan of AC/DC and wanted to tag posts withAC/DC.I can see a couple of ways that this could be handled:
slug(downcase, replace non-word character chains with single-) and set theslugduring processing;permalinkfor the tag joins thesluginstead of the tag itself.Alternatively, the list of tags could be
If a
stringis given (as it is now), then it's either used "as-is" or converted to aslug.I prefer the automatic slug conversion as it makes it harder to accidentally give the same tag name multiple slugs.