Skip to content

Conversation

andruby
Copy link

@andruby andruby commented Sep 5, 2013

When using this code, the category url did not replace spaces with dashes. The added parentheses in this pull request resolved the issue.

{% for category in site.categories %}
  <a href="{% category_url category.first %}">{{ category.first }}</a>
{% endfor %}

@iamsebastian
Copy link

Do it! :bowtie:

@alain-andre
Copy link

@zroger any idea why this isn't merged ? I'm actually having the problem, category_url do not lowercase and replace spaces by -.

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.

3 participants