Add documentation icons

This commit is contained in:
Jeremy Thomas
2018-04-10 22:38:00 +01:00
parent 999c284dcc
commit a88b024dcc
14 changed files with 139 additions and 60 deletions

View File

@@ -40,9 +40,11 @@ breadcrumb:
{% for post in site.posts %}
<a class="bd-link bd-is-post" href="{{ post.url }}">
<h2 class="bd-link-name">
<span class="bd-link-icon has-text-{{ post.color }}">
<i class="{% if post.icon_brand %}fab{% elsif post.icon_regular %}far{% else %}fas{% endif %} fa-{{ post.icon }}"></i>
</span>
<figure class="bd-link-figure">
<span class="bd-link-icon has-text-{{ post.color }}">
<i class="{% if post.icon_brand %}fab{% elsif post.icon_regular %}far{% else %}fas{% endif %} fa-{{ post.icon }}"></i>
</span>
</figure>
{{ post.name }}
</h2>
<time class="bd-link-subtitle" datetime="{{ post.date | date_to_xmlschema }}">