diff --git a/source/_layouts/icon.html b/source/_layouts/icon.html index 398876c8f..83723acde 100644 --- a/source/_layouts/icon.html +++ b/source/_layouts/icon.html @@ -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 %}