diff options
author | Kishan B <kishancs46@gmail.com> | 2018-06-05 16:31:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 16:31:40 +0300 |
commit | 41d33d58f66087a60c305b51dac7a5d2d1eb9826 (patch) | |
tree | a1e45f6f2266c9c2384ebc197df00c3ecad8fa35 | |
parent | e7ddfa28fa7b9575ea1c02d47156200a5cea4841 (diff) | |
parent | 5bb906f53620727fd8d92e737f9d31ae2b53921a (diff) |
Merge pull request #48 from jamesemann/master
added YouTube to social badges
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/social_buttons_in_contact.html | 5 | ||||
-rw-r--r-- | layouts/partials/social_buttons_in_sidebar.html | 5 |
3 files changed, 11 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 01e4232..1ce517a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -54,3 +54,4 @@ googleAnalytics = "" stackoverflow = "full profile url in stackoverflow" instagram = "full profile url in instagram" github = "full profile url in github" + youtube = "full profile url in youtube"
\ No newline at end of file diff --git a/layouts/partials/social_buttons_in_contact.html b/layouts/partials/social_buttons_in_contact.html index ad4ec7e..5a6f0c1 100644 --- a/layouts/partials/social_buttons_in_contact.html +++ b/layouts/partials/social_buttons_in_contact.html @@ -39,4 +39,9 @@ <i class="fa fa-github"></i> </a> {{end}} + {{ with .Site.Params.social.youtube }} + <a href="{{ . }}"> + <i class="fa fa-youtube"></i> + </a> + {{end}} </p> diff --git a/layouts/partials/social_buttons_in_sidebar.html b/layouts/partials/social_buttons_in_sidebar.html index d03e4ae..f59e43d 100644 --- a/layouts/partials/social_buttons_in_sidebar.html +++ b/layouts/partials/social_buttons_in_sidebar.html @@ -39,4 +39,9 @@ <i class="fa fa-github"></i> </a> {{end}} + {{ with .Site.Params.social.youtube }} + <a href="{{ . }}" data-animate-hover="pulse" class="external"> + <i class="fa fa-youtube"></i> + </a> + {{end}} </p> |