mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
74067a3ae6
leverage font-display CSS feature to ensure text is user-visible while loading
79 lines
2.9 KiB
HTML
Executable File
79 lines
2.9 KiB
HTML
Executable File
---
|
|
---
|
|
<!DOCTYPE html>
|
|
<html dir="ltr" lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{ site.title }}</title>
|
|
<meta name="keywords" content="{{ site.keywords }}">
|
|
<meta name="description" content="{{ site.description }}">
|
|
<link rel="stylesheet" href="combo.css">
|
|
<link href='https://fonts.googleapis.com/css?family=Raleway:400,300,700&display=swap' rel='stylesheet' type='text/css'>
|
|
<link rel="canonical" href="https://nerdfonts.com" />
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
|
|
{% if site.favicon %}<link rel="shortcut icon" href="{{ site.favicon }}" type="image/x-icon">{% endif %}
|
|
{% if site.touch_icon %}<link rel="apple-touch-icon" href="{{ site.touch_icon }}">{% endif %}
|
|
<meta name="google-site-verification" content="492okaDWvAC6AttbBxVRWxT7-KNmPqFlLiMupaXdFU0" />
|
|
</head>
|
|
<body>
|
|
<div id="main">
|
|
|
|
<nav><ul>
|
|
{% for node in site.posts reversed %}
|
|
{% capture id %}{{ node.id | remove:'/' | downcase }}{% endcapture %}
|
|
<li class="p-{{id}} hide-on-larger-view"><a href="#{{id}}">
|
|
<i class="fa fa-{{ node.fa-icon }}"></i> {{node.short_title}}</a>
|
|
</li>
|
|
<li class="p-{{id}} hide-on-smaller-view"><a href="#{{id}}">
|
|
<i class="fa fa-{{ node.fa-icon }}"></i> {{node.title}}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul></nav>
|
|
|
|
|
|
{% for page in site.posts reversed %}
|
|
{% capture id %}{{ page.id | remove:'/' | downcase }}{% endcapture %}
|
|
<div id="{{id}}" class="section p-{{id}}">
|
|
{% if page.icon %}
|
|
<div class="subtlecircle sectiondivider imaged">
|
|
<img src="{{page.icon}}" alt="section icon" />
|
|
<h5 class="icon-title">{{ page.title }}</h5>
|
|
</div>
|
|
{% elsif page.fa-icon %}
|
|
<div class="subtlecircle sectiondivider faicon">
|
|
<span class="fa-stack">
|
|
<i class="fa fa-circle fa-stack-2x"></i>
|
|
<i class="fa fa-{{ page.fa-icon }} fa-stack-1x"></i>
|
|
</span>
|
|
<h5 class="icon-title">{{ page.title }}</h5>
|
|
</div>
|
|
{% endif %}
|
|
<div class="container {{ page.style }}">
|
|
{{ page.content }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
|
|
<div id="footer" class="section text-white">
|
|
<div class="container">
|
|
{% capture foottext %} {% include footer.md %} {% endcapture %}
|
|
{{ foottext | markdownify }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% include analytics.html %}
|
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
|
</body>
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
|
<script>
|
|
((window.gitter = {}).chat = {}).options = {
|
|
room: 'ryanoasis/nerd-fonts'
|
|
};
|
|
</script>
|
|
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
|
|
<script src="site.js"></script>
|
|
</html>
|