adding currency icon secion, replacing with automatic icon counts

This commit is contained in:
davegandy 2013-05-18 23:05:18 -04:00
parent fcdf2c0a20
commit 17c88cb80b
9 changed files with 28 additions and 13 deletions

View File

@ -28,8 +28,6 @@ font_awesome:
url: https://github.com/FortAwesome/Font-Awesome url: https://github.com/FortAwesome/Font-Awesome
project: Font-Awesome project: Font-Awesome
org: FortAwesome org: FortAwesome
icon_count: 302
new_icon_count: 54
bootstrap: bootstrap:
version: 2.3.1 version: 2.3.1

View File

@ -1,6 +1,6 @@
{% capture stripe_ad_content %} {% capture stripe_ad_content %}
<p class="lead"> <p class="lead">
You asked, Font Awesome delivers with {{ site.font_awesome.new_icon_count }} shiny new icons in version {{ site.font_awesome.version }}. You asked, Font Awesome delivers with {{ icons | version:site.font_awesome.version | size }} shiny new icons in version {{ site.font_awesome.version }}.
Want to request new icons? <a href="{{ page.relative_path }}community/#requesting-new-icons">Here's how</a>. Want to request new icons? <a href="{{ page.relative_path }}community/#requesting-new-icons">Here's how</a>.
<!--The ever-expanding list of Font Awesome {{ site.font_awesome.version }} icons.--> <!--The ever-expanding list of Font Awesome {{ site.font_awesome.version }} icons.-->
Need vectors or want to use on the desktop? Check the <a href="{{ page.relative_path }}cheatsheet/">cheatsheet</a>. Need vectors or want to use on the desktop? Check the <a href="{{ page.relative_path }}cheatsheet/">cheatsheet</a>.
@ -10,6 +10,7 @@
{% include icons/new.html %} {% include icons/new.html %}
{% include icons/web-application.html %} {% include icons/web-application.html %}
{% include icons/currency.html %}
{% include icons/text-editor.html %} {% include icons/text-editor.html %}
{% include icons/directional.html %} {% include icons/directional.html %}
{% include icons/video-player.html %} {% include icons/video-player.html %}

View File

@ -0,0 +1,15 @@
<section id="currency">
<h2 class="page-header">Currency Icons</h2>
<div class="row the-icons">
{% for icon in icons %}
{% if icon.categories contains "Currency Icons" %}
<div class="span3"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="icon-{{ icon.id }}"></i> icon-{{ icon.id }}</a></div>
{% for alias in icon.aliases %}
<div class="span3"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="icon-{{ alias }}"></i> icon-{{ alias }} <span class="muted">(alias)</span></a></div>
{% endfor %}
{% endif %}
{% endfor %}
</div>
</section>

View File

@ -2,7 +2,7 @@
<h2 class="page-header">New Icons in {{ site.font_awesome.version }}</h2> <h2 class="page-header">New Icons in {{ site.font_awesome.version }}</h2>
{% if page.navbar_active != "icons" %} {% if page.navbar_active != "icons" %}
<div class="margin-botom-large"> <div class="margin-botom-large">
You asked, Font Awesome delivers with {{ site.font_awesome.new_icon_count }} shiny new icons in version {{ site.font_awesome.version }}. You asked, Font Awesome delivers with {{ icons | version:site.font_awesome.version | size }} shiny new icons in version {{ site.font_awesome.version }}.
Want to request new icons? <a href="{{ page.relative_path }}community/#requesting-new-icons">Here's how</a>. Want to request new icons? <a href="{{ page.relative_path }}community/#requesting-new-icons">Here's how</a>.
</div> </div>
{% endif %} {% endif %}

View File

@ -15,6 +15,7 @@
<li class="divider"></li> <li class="divider"></li>
<li><a href="{{ page.relative_path }}icons/#new"><i class="icon-shield icon-fixed-width"></i>&nbsp; New Icons in {{ site.font_awesome.version }}</a></li> <li><a href="{{ page.relative_path }}icons/#new"><i class="icon-shield icon-fixed-width"></i>&nbsp; New Icons in {{ site.font_awesome.version }}</a></li>
<li><a href="{{ page.relative_path }}icons/#web-application"><i class="icon-camera-retro icon-fixed-width"></i>&nbsp; Web Application Icons</a></li> <li><a href="{{ page.relative_path }}icons/#web-application"><i class="icon-camera-retro icon-fixed-width"></i>&nbsp; Web Application Icons</a></li>
<li><a href="{{ page.relative_path }}icons/#currency"><i class="icon-gbp icon-fixed-width"></i>&nbsp; Currency Icons</a></li>
<li><a href="{{ page.relative_path }}icons/#text-editor"><i class="icon-file-alt icon-fixed-width"></i>&nbsp; Text Editor Icons</a></li> <li><a href="{{ page.relative_path }}icons/#text-editor"><i class="icon-file-alt icon-fixed-width"></i>&nbsp; Text Editor Icons</a></li>
<li><a href="{{ page.relative_path }}icons/#directional"><i class="icon-hand-right icon-fixed-width"></i>&nbsp; Directional Icons</a></li> <li><a href="{{ page.relative_path }}icons/#directional"><i class="icon-hand-right icon-fixed-width"></i>&nbsp; Directional Icons</a></li>
<li><a href="{{ page.relative_path }}icons/#video-player"><i class="icon-play-sign icon-fixed-width"></i>&nbsp; Video Player Icons</a></li> <li><a href="{{ page.relative_path }}icons/#video-player"><i class="icon-play-sign icon-fixed-width"></i>&nbsp; Video Player Icons</a></li>

View File

@ -1,7 +1,7 @@
<div id="why"> <div id="why">
<div class="row"> <div class="row">
<div class="span4"> <div class="span4">
<h4><i class="icon-flag"></i> One Font, {{ site.font_awesome.icon_count }} Icons</h4> <h4><i class="icon-flag"></i> One Font, {{ icons | size }} Icons</h4>
In a single collection, Font Awesome is a pictographic language of web-related actions. In a single collection, Font Awesome is a pictographic language of web-related actions.
</div> </div>
<div class="span4"> <div class="span4">

View File

@ -5,7 +5,7 @@ navbar_active: icons
relative_path: ../ relative_path: ../
--- ---
{% capture jumbotron_h1 %}<i class="icon-flag icon-large"></i>&nbsp; The Icons{% endcapture %} {% capture jumbotron_h1 %}<i class="icon-flag icon-large"></i>&nbsp; The Icons{% endcapture %}
{% capture jumbotron_p %}The complete set of {{ site.font_awesome.icon_count }} icons in Font Awesome {{ site.font_awesome.version }}{% endcapture %} {% capture jumbotron_p %}The complete set of {{ icons | size }} icons in Font Awesome {{ site.font_awesome.version }}{% endcapture %}
{% include jumbotron.html %} {% include jumbotron.html %}
{% include stripe-social.html %} {% include stripe-social.html %}

View File

@ -2187,14 +2187,14 @@ icons:
aliases: aliases:
- euro - euro
categories: categories:
- Web Application Icons - Currency Icons
- name: GBP - name: GBP
id: gbp id: gbp
unicode: f154 unicode: f154
created: 3.2.0 created: 3.2.0
categories: categories:
- Web Application Icons - Currency Icons
- name: US Dollar - name: US Dollar
id: usd id: usd
@ -2203,7 +2203,7 @@ icons:
aliases: aliases:
- dollar - dollar
categories: categories:
- Web Application Icons - Currency Icons
- name: Indian Rupee (INR) - name: Indian Rupee (INR)
id: inr id: inr
@ -2212,7 +2212,7 @@ icons:
aliases: aliases:
- rupee - rupee
categories: categories:
- Web Application Icons - Currency Icons
- name: Japanese Yen (JPY) - name: Japanese Yen (JPY)
id: jpy id: jpy
@ -2221,7 +2221,7 @@ icons:
aliases: aliases:
- yen - yen
categories: categories:
- Web Application Icons - Currency Icons
- name: Renminbi (CNY) - name: Renminbi (CNY)
id: cny id: cny
@ -2230,7 +2230,7 @@ icons:
aliases: aliases:
- renminbi - renminbi
categories: categories:
- Web Application Icons - Currency Icons
- name: Korean Won (KRW) - name: Korean Won (KRW)
id: krw id: krw
@ -2239,4 +2239,4 @@ icons:
aliases: aliases:
- won - won
categories: categories:
- Web Application Icons - Currency Icons