jekyll / jekyll-archives

:books: Archive pages for your Jekyll tags and categories.
https://jekyll.github.io/jekyll-archives/
MIT License
436 stars 99 forks source link

Added the "slug_mode" option to URL generation. #156

Closed cosmochefe closed 4 years ago

cosmochefe commented 4 years ago

This commit helps with localization of URLs for sites that use category and tag names that have accented characters. By using the "slug_mode" option in the site's configuration file, the user can apply the correspondent mode of the "Utils.slugify" method to the generated directory name and URL. Issue #121 should be resolved by this.

ashmaroli commented 4 years ago

@cosmochefe Thank you for the contribution. I'm on board with the proposal. But this needs a test to see if a scenario similar to #121 is resolved and stays so, with some test coverage.

ashmaroli commented 4 years ago

Related: #100

ashmaroli commented 4 years ago

Prior art: #129

cosmochefe commented 4 years ago

Hi Ashwin, how are you?

This is the very first time I contribute to a project on GitHub. Is there a source of information so I can understand what to do next? Should I just write a test inside the homonymous directory or should I do something else?

Thank you in advance. Cheers!

Em 12 de abr de 2020, à(s) 03:17, Ashwin Maroli notifications@github.com escreveu:

@cosmochefe Thank you for the contribution. I'm on board with the proposal. But this needs a test to see if a scenario similar to #121 is resolved and stays so, with some test coverage.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

ashmaroli commented 4 years ago

I'm fine Alvaro, thank you. Hope you're doing great as well. Thanks for letting me know this is is your first GitHub contribution ever. I'll provide you with some orientation:


Regarding your proposal, unfortunately, there's already a prior submission (#129). You can get an idea about testing by viewing that PR — basically add a post with accented characters in the title and assert that the end-result is what you expect to get.

I've left a message to the original author to revisit their submission. If that PR gets dropped, this pull request will get picked up. If it doesn't, well.. this could be an exercise for you....

ashmaroli commented 4 years ago

Superseded by prior submission #129