Merge pull request #201 from vanokhin/Fix-#139

Apply changes from #139 to .txt templates
This commit is contained in:
Julien Deswaef 2019-11-21 16:30:20 +01:00 committed by GitHub
commit 3859cdd086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@
readers do not read off random characters that represent icons */ readers do not read off random characters that represent icons */
{% for icon in icons %}{% for alias in icon.aliases %} {% for icon in icons %}{% for alias in icon.aliases %}
.#{$fa-css-prefix}-{{ alias }}:before,{% endfor %} .#{$fa-css-prefix}-{{ alias }}:before,{% endfor %}
.#{$fa-css-prefix}-{{ icon.id }}:before { content: $fa-var-{{ icon.id }}; }{% endfor %} .#{$fa-css-prefix}-{{ icon.id }}:before { content: fa-content($fa-var-{{ icon.id }}); }{% endfor %}

View File

@ -13,5 +13,5 @@ $fa-border-color: #eee !default;
$fa-inverse: #fff !default; $fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default; $fa-li-width: (30em / 14) !default;
{% assign sorted_icons = icons | expand_aliases | sort_by:'class' %}{% for icon in sorted_icons %}$fa-var-{{ icon.class }}: "\{{ icon.unicode }}"; {% assign sorted_icons = icons | expand_aliases | sort_by:'class' %}{% for icon in sorted_icons %}$fa-var-{{ icon.class }}: \{{ icon.unicode }};
{% endfor %} {% endfor %}