summaryrefslogtreecommitdiff
path: root/static/fork-awesome/src/doc/test/cdn.html
blob: 8bfadf6f57b9acafd532fa35b2a612fa52518157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
relative_path: ../../
---

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@{{ site.forkawesome.version }}/css/fork-awesome.min.css">
  </head>

  <body>
    <div class="container">
      <div>
        <h1>All</h1>
        <div>
          {% for icon in icons %}
          <i class="fa fa-{{ icon.id }}"></i>{% endfor %}
        </div>
      </div>


      <div>
        <h1>All (Unicode)</h1>
        {% for icon in icons %}
        <i class="fa">&#x{{ icon.unicode }}</i>
        {% endfor %}
      </div>

      <div>
        <h1>Non-Brand (Unicode)</h1>

        {% for icon in icons %}
          {% unless icon.categories contains "Brand Icons" %}
            <i class="fa">&#x{{ icon.unicode }}</i>
          {% endunless %}
        {% endfor %}
      </div>

      <div>
        <h1>Brand (Unicode)</h1>

        {% for icon in icons %}
          {% if icon.categories contains "Brand Icons" %}
          <i class="fa">&#x{{ icon.unicode }}</i>
          {% endif %}
        {% endfor %}
      </div>


    </div>
  </body>

</html>