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

slugify categories? #1

Open
sherwinmartin opened this issue Feb 25, 2015 · 4 comments
Open

slugify categories? #1

sherwinmartin opened this issue Feb 25, 2015 · 4 comments

Comments

@sherwinmartin
Copy link

thanks for the great plugin. i was wondering if there's a way to slugify the categories. i have categories that are more than 1 word, although it works as is, i'd like it to be more seo friendly as well as follow web standards. thanks again.

@ekynoxe
Copy link
Owner

ekynoxe commented Feb 25, 2015

Good catch. This is actually probably a bug, as, as you say, it should strip special characters and replace spaces by dashes, or something like this. I'll look into it.

@ekynoxe
Copy link
Owner

ekynoxe commented Feb 27, 2015

@w1n78 I've updated my other plugin for this, the category pages generator at https://github.com/ekynoxe/JekyllCategoryPagesGenerator but I realise now that this plugin creating a tag to generate a list of categories will need more work to make it really useful.
I didn't realise until now that Jekyll generates category pages regardless, which aren't usable at all while slugifying the category links.

I think I'll have to see if I can merge those two plugins, or find another way to interact with the way Jekyll generate the category directories.

@ekynoxe
Copy link
Owner

ekynoxe commented Feb 27, 2015

@w1n78 Am i right thinking you commented on the wrong project? :) Our initial exchange on Twitter talked about the CategoryPagesGenerator.

@sherwinmartin
Copy link
Author

oh wow just realized that. sorry and thanks for the update.

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