Skip to content

Category multiple words split incorrectlyΒ #55

@unechimere33

Description

@unechimere33

Using a multi word category such as:

categories: [Adobe Photoshop Skills]

Creates three categories instead of. The same is true if you use "" and ''.

Expected behavior would be to have this be one category.

It appears that this bug was introduced in this commit when sorting categories: b43d949#diff-d169fb3096abccb74dec9e6203459b08R7

As a workaround, using the following categories-tab include works:

https://github.com/thomasvaeth/trophy-jekyll/blob/7e5bdd279c186a9aba558ac90a3aa20086101160/_includes/categories-tab.html

A better fix would be to fix the sort method to respect multiple-word categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions