Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tags seem to be case sensitive #51

Open
oupala opened this issue Oct 6, 2017 · 2 comments
Open

tags seem to be case sensitive #51

oupala opened this issue Oct 6, 2017 · 2 comments

Comments

@oupala
Copy link

oupala commented Oct 6, 2017

Tags seem to be case sensitive.

  • I create a document with api tag
  • I create another document with API tag

On both document, tag link is http://myserver/tags/api/.

But when I click on the link, only the first document appear, the one which have the api tag (lowercase).

So tags seem to be partially cas sensitive (the slug is lowercased, but the real tag is API or api). Is there a way to fix that?

@benpolinsky
Copy link

Agreed. I think this is because metalsmith doesn't allow for two files which differ only by casing to be processed as separate files (correct me if I am wrong). Though the web spec for URLs technically allows it (aside from domains - google.com vs Google.com)

It'd be nice to make tags case insensitive, so an 'api' tag is the same as 'Api'. I'll work on a PR.

@oupala
Copy link
Author

oupala commented Jun 2, 2020

@benpolinsky Have you had time to work on this PR?

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

No branches or pull requests

2 participants