Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kishaningithub/hugo-creative-portfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKishan B <kishancs46@gmail.com>2018-06-05 16:31:40 +0300
committerGitHub <noreply@github.com>2018-06-05 16:31:40 +0300
commit41d33d58f66087a60c305b51dac7a5d2d1eb9826 (patch)
treea1e45f6f2266c9c2384ebc197df00c3ecad8fa35
parente7ddfa28fa7b9575ea1c02d47156200a5cea4841 (diff)
parent5bb906f53620727fd8d92e737f9d31ae2b53921a (diff)
Merge pull request #48 from jamesemann/master
added YouTube to social badges
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/social_buttons_in_contact.html5
-rw-r--r--layouts/partials/social_buttons_in_sidebar.html5
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>