jekyllt / jasper2

Full-featured Jekyll port of Ghost's default theme Casper v2 👻
https://jekyllt.github.io/jasper2/
MIT License
763 stars 659 forks source link

Improve Handling of Tags #106

Closed Jetroid closed 4 years ago

Jetroid commented 4 years ago

Tags may now properly contain non-standard characters.

For example, the tag: "Hellö/Wörld"

is now properly created as "/tag/hello-world".

Additionally, tags now no longer have to be manually listed in the subclass section of posts; the css classes are now added automatically.

biomadeira commented 4 years ago

Very nice thanks!

Jetroid commented 4 years ago

@Xukinorris

Possibly.

Looks like I inadvertently slipped in a line to the Gemfile, when in reality we want to use the slugify built in to Jekyll.

That didn't cause problems for me, but clearly is causing problems for you (hence the warnings about duplicate keys that you saw).

Can you try installing the amended version on my repo to see if it fixes your problem? If so, I'll work to package a commit to send upstream here.