Skip to content

Commit 439d04b

Browse files
committed
Add Instagram Social
1 parent 8514016 commit 439d04b

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

config.toml.example

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ theme = "indigo"
2929
StackOverflowUser = "StackOverflowUserName"
3030
TumblrUser = "TumblrUserName"
3131
TwitterUser = "TwitterUserName"
32+
InstagramUser = "InstagramUserName"
3233

3334
# These are parameters used for indieweb identity. You should set these along
3435
# with the above email/social network parameters.

exampleSite/config.toml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ paginate = 3
2929
StackOverflowUser = "StackOverflowUserName"
3030
TumblrUser = "TumblrUserName"
3131
TwitterUser = "TwitterUserName"
32+
InstagramUser = "InstagramUserName"
3233

3334
# These are parameters used for indieweb identity. You should set these along
3435
# with the above email/social network parameters.

layouts/partials/social.html

+6
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,11 @@
7070
<a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ .Site.Params.TwitterUser }}"><img src={{ "icons/twitter.svg" | absURL }} height="24px" width="24px"></a>
7171
</div>
7272
{{ end }}
73+
{{ if isset .Site.Params "instagramuser" }}
74+
<div class="icon-24x24">
75+
<a class="glyph" alt="Instagram profile" href="https://instagram.com/{{ .Site.Params.TwitterUser }}"><img
76+
src={{ "icons/instagram.svg" | absURL }} height="24px" width="24px"></a>
77+
</div>
78+
{{ end }}
7379
</div>
7480
</aside>

static/icons/instagram.svg

+1
Loading

0 commit comments

Comments
 (0)