mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2025-01-26 07:00:29 +08:00
Adding a test file for the CDN
This commit is contained in:
parent
463f099dfb
commit
bb7eec63d9
53
src/doc/test/cdn.html
Normal file
53
src/doc/test/cdn.html
Normal file
@ -0,0 +1,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>
|
Loading…
Reference in New Issue
Block a user