diff options
author | Conor Anderson <conor@conr.ca> | 2019-01-21 01:37:40 +0300 |
---|---|---|
committer | Conor Anderson <conor@conr.ca> | 2019-01-21 01:38:43 +0300 |
commit | 4e1cdd4778a9bda7f62417c954198804e5db4387 (patch) | |
tree | 3fcba0f35a86244ce4244078d2a1065f69a68538 | |
parent | 63f5e670b077ef2032601b12e83cdf8576f9a03e (diff) |
Add Whatsapp to contact
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-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, 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> |