Skip to content

Commit 266a63e

Browse files
committed
Make social links have one place on the site. #134
1 parent af81255 commit 266a63e

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

_config.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,19 @@ email: [email protected]
1111
description: The internet home for all of my personal projects and thoughts.
1212
baseurl: "" # the subpath of your site, e.g. /blog
1313
url: "https://www.bengodfrey.net" #interwebz
14-
twitter_username: BenJetson
15-
github_username: BenJetson
1614
repository: BenJetson/benjetson.github.io
1715
profileIMG: https://avatars1.githubusercontent.com/u/10427974?s=460&v=4
1816
brand_color: "#01579b"
1917

18+
# Social Links
19+
# If these are updates, you might want to check _data/stack.yml for entries that
20+
# need updating.
21+
social_urls:
22+
twitter: https://twitter.com/BenJetson
23+
instagram: https://instagram.com/bfgodfr
24+
github: https://github.com/BenJetson
25+
linkedin: https://linkedin.com/in/bfgodfrey
26+
2027
# Build settings
2128
tier: prod
2229
recaptcha_site_id: 6LfaaLQZAAAAAFqauKWQA3LRGVvHvnl-JJ99tEJI

_includes/footer.html

+10-6
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,22 @@ <h4>{{site.title}}</h4>
88
<div class="col-sm-12 col-md-3 d-print-none">
99
<h5>Follow me!</h5>
1010
<div class="social-grid">
11-
<a class="social-icon" href="https://github.com/benjetson">
12-
<i class="bi bi-github"></i>
13-
<span class="visually-hidden">GitHub</span>
14-
</a>
15-
<a class="social-icon" href="https://twitter.com/benjetson">
11+
<a class="social-icon" href="{{site.social_urls.twitter}}">
1612
<i class="bi bi-twitter"></i>
1713
<span class="visually-hidden">Twitter</span>
1814
</a>
19-
<a class="social-icon" href="https://www.linkedin.com/in/bfgodfrey">
15+
<a class="social-icon" href="{{site.social_urls.instagram}}">
16+
<i class="bi bi-instagram"></i>
17+
<span class="visually-hidden">Instagram</span>
18+
</a>
19+
<a class="social-icon" href="{{site.social_urls.linkedin}}">
2020
<i class="bi bi-linkedin"></i>
2121
<span class="visually-hidden">LinkedIn</span>
2222
</a>
23+
<a class="social-icon" href="{{site.social_urls.github}}">
24+
<i class="bi bi-github"></i>
25+
<span class="visually-hidden">GitHub</span>
26+
</a>
2327
</div>
2428
</div>
2529
<div class="col-sm-12 col-md-3 d-print-none">

0 commit comments

Comments
 (0)