Skip to content

Commit 1a1de0a

Browse files
committed
Added stackoverflow link
1 parent e199360 commit 1a1de0a

File tree

6 files changed

+21
-15
lines changed

6 files changed

+21
-15
lines changed

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ darkmode: false
1414
# Social links
1515
twitter_username: jekyllrb
1616
github_username: jekyll
17+
stackoverflow_username: "00000001"
1718
dribbble_username: jekyll
1819
facebook_username: jekyll
1920
flickr_username: jekyll

_includes/gtag.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<!-- Global site tag (gtag.js) - Google Analytics -->
32
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
43
<script>

_includes/gtm_body.html

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
<!-- Google Tag Manager (noscript) -->
3-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}"
4-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
5-
<!-- End Google Tag Manager (noscript) -->
1+
<!-- Google Tag Manager (noscript) -->
2+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}"
3+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4+
<!-- End Google Tag Manager (noscript) -->

_includes/gtm_head.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
2-
<!-- Google Tag Manager -->
3-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
5-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
6-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
7-
})(window,document,'script','dataLayer','{{ site.gtm }}');</script>
8-
<!-- End Google Tag Manager -->
1+
<!-- Google Tag Manager -->
2+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
5+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
6+
})(window,document,'script','dataLayer','{{ site.gtm }}');</script>
7+
<!-- End Google Tag Manager -->

_includes/header.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ <h2>{{ site.title | escape }}</h2>
3434
</a>
3535
</li>
3636
{%- endif -%}
37+
{%- if site.stackoverflow_username -%}
38+
<li>
39+
<a target="_blank" href="https://stackoverflow.com/users/{{ site.stackoverflow_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
40+
<i class="fab fa-stack-overflow" title="Stackoverflow link"></i>
41+
</a>
42+
</li>
43+
{%- endif -%}
3744
{%- if site.instagram_username -%}
3845
<li>
3946
<a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
@@ -89,7 +96,7 @@ <h2>{{ site.title | escape }}</h2>
8996
<i class="fab fa-orcid" title="ORCiD link"></i>
9097
</a>
9198
</li>
92-
{%- endif -%}</ul>
99+
{%- endif -%}
93100
</ul>
94101

95102
{%- if site.email -%}

_test/_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ website: sproogen.github.io/modern-resume-theme
1212
# Social links
1313
twitter_username: jekyllrb
1414
github_username: jekyll
15+
stackoverflow_username: "00000001"
1516
dribbble_username: jekyll
1617
facebook_username: jekyll
1718
flickr_username: jekyll

0 commit comments

Comments
 (0)