From 13f53d1cc36d70d0ac27ecd87c1a477ec018a2ad Mon Sep 17 00:00:00 2001 From: Dave Gandy Date: Wed, 14 May 2014 10:49:26 -0500 Subject: [PATCH] adding aliases to cheatsheet as well --- src/cheatsheet.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/cheatsheet.html b/src/cheatsheet.html index cc5f8ab8a..dfd6d13c3 100644 --- a/src/cheatsheet.html +++ b/src/cheatsheet.html @@ -20,11 +20,14 @@ relative_path: ../
- {% assign sorted_icons = icons | sort_by:'class' %}{% for icon in sorted_icons %} + {% assign sorted_icons = icons | expand_aliases | sort_by:'class' %} + + {% for icon in sorted_icons %}
&#x{{ icon.unicode }} - fa-{{ icon.id }} - (&#x{{ icon.unicode }};) + fa-{{ icon.class }} + {% if icon.alias_of %} (alias){% endif %} + [&#x{{ icon.unicode }};]
{% endfor %}