Skip to content

Case sensitivity of individual tags entries #2462

Open
@zachleat

Description

@zachleat

Related docs: https://www.11ty.dev/docs/collections/

Aggregation issue for this!

Specifically, when assigning:

tags:
  - JavaScript
tags:
  - javascript

Right now the above two documents create two separate entries in the collections object. This causes further issues if you have pagination templates with something like: permalink: /{{ alias.tag | slugify }}/

Both slugify and slug filters change the strings to lower case.

This will throw a duplicate permalink error!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-discussionPlease leave your opinion! This request is open for feedback from devs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions