fixing aliases text showing up when it shouldn't on icon pages

This commit is contained in:
davegandy 2013-06-06 15:22:06 -02:30
parent a8f72b417c
commit 3d51148cf2

View File

@ -25,7 +25,8 @@ relative_path: ../../
{% for category in page.icon.categories %} {% for category in page.icon.categories %}
{{ category }}{% unless forloop.last %},{% endunless %} {{ category }}{% unless forloop.last %},{% endunless %}
{% endfor %} {% endfor %}
{% if page.icon.aliases | size == 0 %} {% assign icon_alias_count = page.icon.aliases | size %}
{% if icon_alias_count > 0 %}
· Aliases: · Aliases:
{% for alias in page.icon.aliases %} {% for alias in page.icon.aliases %}
icon-{{ alias }}{% unless forloop.last %},{% endunless %} icon-{{ alias }}{% unless forloop.last %},{% endunless %}