Lowercase category/tag names · Issue #351 · jekyll/jekyll-feed · GitHub
Skip to content

Lowercase category/tag names #351

Open

Description

@bbatsov

With the following config:

feed:
  path: atom.xml
  categories:
    - Emacs

the feed for the category Emacs, ends up being named feed/Emacs.xml instead of feed/emacs.xml. I took me a while to figure this out as I expected that the feed would named feed/emacs.xml, but trying to access it resulted in a 404. As capitalized names are uncommon in URLs, I think it makes sense to just lowercase category names.

The same problem exists for tag feeds.

Activity

  1. ashmaroli commented on Nov 14, 2021

    @ashmaroli
    Member

    As capitalized names are uncommon in URLs,

    To maintain backwards-compatibility, I think the best route would be to support a new configuration:

    feed:
      lowercased_feed_url: true   # false by default
  2. bbatsov commented on Nov 14, 2021

    @bbatsov
    Author

    Yeah, that makes perfect sense.

  3. changed the title [-]Lowercase category names[/-] [+]Lowercase category/tag names[/+] on Nov 15, 2021
  4. bbatsov commented on Jan 15, 2022

    @bbatsov
    Author

    The issue is still relevant.

  5. deleted a comment from jekyllbot on May 17, 2022
  6. deleted a comment from jekyllbot on May 17, 2022
  7. deleted a comment from jekyllbot on May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions