Skip to content

Commit 3463ecc

Browse files
Merge pull request sergiokopplin#178 from rowmatrix/add-stackoverflow
Adds stackoverflow icon
2 parents eb95e66 + 8b559af commit 3463ecc

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ twitter: mytwitter
3838
youtube: myyoutube
3939
spotify: myspotify
4040
github: mygithub
41+
stackoverflow: mystackoverflow
4142
medium: medium
4243
vimeo: myvimeo
4344
email: myemail@gmail.com

_includes/icons.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,10 @@
6767
<path d="M17.811,2.018c2.017,0.053,3.026,1.198,3.036,3.438c0,0.147-0.005,0.3-0.013,0.457c-0.089,1.899-1.502,4.486-4.245,7.76 c-2.829,3.43-5.229,5.147-7.2,5.156c-1.226,0-2.244-1.05-3.061-3.151l-0.858-2.88L4.622,9.922C3.997,7.838,3.329,6.798,2.616,6.798 c-0.156,0-0.697,0.304-1.626,0.91L0,6.537l1.536-1.276l1.511-1.263C4.4,2.914,5.429,2.328,6.135,2.241 c0.094-0.01,0.188-0.013,0.284-0.013c1.449,0,2.354,1.041,2.709,3.124C9.326,6.54,9.49,7.506,9.623,8.248 C9.752,8.992,9.86,9.51,9.946,9.805c0.479,1.97,0.995,2.96,1.55,2.968c0.426,0,1.082-0.642,1.968-1.926 c0.866-1.319,1.332-2.296,1.392-2.932c0.019-0.129,0.026-0.25,0.026-0.362c0-0.861-0.474-1.29-1.418-1.29 c-0.479,0-0.99,0.102-1.537,0.299c0.98-3.021,2.864-4.534,5.65-4.544C17.655,2.018,17.732,2.018,17.811,2.018z"/>
6868
</symbol>
6969

70+
<symbol id="icon-stackoverflow" viewBox="0 0 1024 1024">
71+
<title>stackoverflow</title>
72+
<path class="path1" d="M1024 640v384h-1024v-384h128v256h768v-256zM192 704h640v128h-640zM207.152 565.466l27.698-124.964 624.832 138.496-27.698 124.964zM279.658 308.558l54.092-116.006 580.032 270.464-54.092 116.006zM991.722 361.476l-77.922 101.55-507.746-389.608 56.336-73.418h58.244z"></path>
73+
</symbol>
74+
7075
</defs>
7176
</svg>

_includes/social-links.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
<svg class="icon icon-github"><use xlink:href="#icon-github"></use></svg>
5353
</a>
5454
{% endif %}
55+
56+
{% if site.stackoverflow %}
57+
<a class="link" data-title="stackoverflow.com/users/{{ site.stackoverflow }}" href="http://stackoverflow.com/users/{{ site.stackoverflow }}" target="_blank">
58+
<svg class="icon icon-stackoverflow"><use xlink:href="#icon-stackoverflow"></use></svg>
59+
</a>
60+
{% endif %}
5561

5662
{% if site.medium %}
5763
<a class="link" data-title="medium.com/@{{ site.medium }}" href="https://medium.com/@{{ site.medium }}" target="_blank">

0 commit comments

Comments
 (0)