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>2019-01-21 07:27:28 +0300
committerGitHub <noreply@github.com>2019-01-21 07:27:28 +0300
commit7d37d04034f1df5ba2d2c286ba9c745861e9d150 (patch)
tree3fcba0f35a86244ce4244078d2a1065f69a68538
parent63f5e670b077ef2032601b12e83cdf8576f9a03e (diff)
parent4e1cdd4778a9bda7f62417c954198804e5db4387 (diff)
Merge pull request #57 from ConorIA/master
Add Whatsapp to contact buttons
-rw-r--r--exampleSite/config.toml3
-rw-r--r--layouts/partials/social_buttons_in_contact.html5
-rw-r--r--layouts/partials/social_buttons_in_sidebar.html5
3 files changed, 12 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 1ce517a..948c16e 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -54,4 +54,5 @@ 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
+ youtube = "full profile url in youtube"
+ whatsapp = "wa.me service link"
diff --git a/layouts/partials/social_buttons_in_contact.html b/layouts/partials/social_buttons_in_contact.html
index 5a6f0c1..ab0bc18 100644
--- a/layouts/partials/social_buttons_in_contact.html
+++ b/layouts/partials/social_buttons_in_contact.html
@@ -44,4 +44,9 @@
<i class="fa fa-youtube"></i>
</a>
{{end}}
+ {{ with .Site.Params.social.whatsapp }}
+ <a href="{{ . }}" data-animate-hover="pulse" class="external">
+ <i class="fa fa-whatsapp"></i>
+ </a>
+ {{end}}
</p>
diff --git a/layouts/partials/social_buttons_in_sidebar.html b/layouts/partials/social_buttons_in_sidebar.html
index f59e43d..a982bb8 100644
--- a/layouts/partials/social_buttons_in_sidebar.html
+++ b/layouts/partials/social_buttons_in_sidebar.html
@@ -44,4 +44,9 @@
<i class="fa fa-youtube"></i>
</a>
{{end}}
+ {{ with .Site.Params.social.whatsapp }}
+ <a href="{{ . }}" data-animate-hover="pulse" class="external">
+ <i class="fa fa-whatsapp"></i>
+ </a>
+ {{end}}
</p>