From 4e1cdd4778a9bda7f62417c954198804e5db4387 Mon Sep 17 00:00:00 2001 From: Conor Anderson Date: Sun, 20 Jan 2019 17:37:40 -0500 Subject: Add Whatsapp to contact --- exampleSite/config.toml | 3 ++- layouts/partials/social_buttons_in_contact.html | 5 +++++ layouts/partials/social_buttons_in_sidebar.html | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) 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 @@ {{end}} + {{ with .Site.Params.social.whatsapp }} + + + + {{end}}

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 @@ {{end}} + {{ with .Site.Params.social.whatsapp }} + + + + {{end}}

-- cgit v1.2.3