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

Problem when a tag is part of title #58

Open
mehdisadeghi opened this issue Jan 2, 2017 · 2 comments
Open

Problem when a tag is part of title #58

mehdisadeghi opened this issue Jan 2, 2017 · 2 comments

Comments

@mehdisadeghi
Copy link

With most recent version of Jekyll (3.3.1) and jekyll-tagging from master (a981f78) if I run jekyll doctor I get the following error:

      Conflict: The URL '/home/mehdi/Projects/mehdix.ir/_site/tag/ssl.html' is the destination for the following pages: tag/ssl.html, tag/ssl.html
      Conflict: The URL '/home/mehdi/Projects/mehdix.ir/_site/tag/yaml.html' is the destination for the following pages: tag/yaml.html, tag/yaml.html

By carefully inspecting my posts I realized this problem occurs when a tag is part of the title. In my case, the word YAML was a tag and at the same time part of the title.

@hjerpbakk
Copy link

I encountered this problem when having two tags differencing only by their case. I had both Nuget and nuget:

Conflict: The URL '/srv/jekyll/_site/tag/nuget.html' is the destination for the following pages: tag/nuget.html, tag/nuget.htm

Agreeing on the casing made the problem disappear.

@mehdisadeghi
Copy link
Author

It's possible to change the code to have tags with different cases, jekyll doctor will complain however:

Warning: The following URLs only differ by case. On a case-insensitive file system one of the URLs will be overwritten by the other: /home/ms/Projects/mx/jekyll-theme-mehdix-rtl/_site/tag/https.html, /home/ms/Projects/mx/jekyll-theme-mehdix-rtl/_site/tag/HTTPS.html

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