Skip to content

Commit caec027

Browse files
m4rcixbitbrain
andauthored
Added support for standard FA badges (#60)
Co-authored-by: miguel <[email protected]>
1 parent 6784639 commit caec027

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

_includes/header.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
<div class="wrapper">
33
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}<b class="command_prompt"></b><b class="blinking_cursor">_</b></a>
44
<span class="social_links">
5-
{% for link in site.dash.social_links %}<a class="color-{{ link.color }}-hover" href="{{ link.url }}"><i class="fab fa-{{ link.icon }}"></i></a>{% endfor %}
5+
{% for link in site.dash.social_links %}
6+
{% if link.fa == true %}
7+
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"><i class="fa fa-{{ link.icon }}"></i></a>
8+
{% else %}
9+
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"><i class="fab fa-{{ link.icon }}"></i></a>
10+
{% endif %}
11+
{% endfor %}
612
</span>
713
</div>
814
</div>

0 commit comments

Comments
 (0)