mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
fixing aliases text showing up when it shouldn't on icon pages
This commit is contained in:
parent
a8f72b417c
commit
3d51148cf2
@ -25,7 +25,8 @@ relative_path: ../../
|
||||
{% for category in page.icon.categories %}
|
||||
{{ category }}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
{% if page.icon.aliases | size == 0 %}
|
||||
{% assign icon_alias_count = page.icon.aliases | size %}
|
||||
{% if icon_alias_count > 0 %}
|
||||
· Aliases:
|
||||
{% for alias in page.icon.aliases %}
|
||||
icon-{{ alias }}{% unless forloop.last %},{% endunless %}
|
||||
|
Loading…
Reference in New Issue
Block a user