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

Slugs not compatible with Liquid #54

Open
akerbos opened this issue Sep 5, 2016 · 1 comment
Open

Slugs not compatible with Liquid #54

akerbos opened this issue Sep 5, 2016 · 1 comment

Comments

@akerbos
Copy link

akerbos commented Sep 5, 2016

When creating links to tag pages, something like this is intuitive:

{% for tag in page.tags %}
  <li><a href="{{ site.baseurl }}/{{ site.tag_page_dir }}/{{ tag | slugify }}.html">{{ tag }}</a></li>
{% endfor %}

Unfortunately, slugify is not compatible to your jekyll_tagging_slug.

I don't know how robust jekyll_tagging_slug is but you may want to switch to using slugify for consistency with other Jekyll stuff.

@akerbos
Copy link
Author

akerbos commented Sep 5, 2016

FWIW, {{ tag | jekyll_tagging_slug }} works and does create the correct URLs. If this request gets declined, please document this. Thanks!

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

1 participant