Skip to content

Conversation

@ashmaroli
Copy link
Member

By simply setting sidebar_label key in the collection's metadata..
Do note that the provided string value will be rendered as given without any capitalization or titlization. Additionally, only the sidebar will reflect this metadata. Breadcrumbs will continue to reflect the original type.

Closes #493

Copy link
Member

@mertkahyaoglu mertkahyaoglu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple and beautiful 👍

@ashmaroli ashmaroli merged commit fc0e141 into jekyll:master Oct 14, 2019
@ashmaroli ashmaroli deleted the sidebar-collections-custom-labels branch October 14, 2019 08:54
@mertkahyaoglu
Copy link
Member

@ashmaroli I forgot to mention doc about this feature. Where should we mention this?

@ashmaroli
Copy link
Member Author

I intentionally left it undocumented (for now) so that new users don't think this feature is available in the latest release v0.9.0. I shall include it in the README when we near the next release date.

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

Successfully merging this pull request may close these issues.

Feature request: Custom collection labels

2 participants