diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 139e33a5..fe457e7e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -70,6 +70,7 @@ enableGitInfo = false address = "Building 1 Room 1, Stanford University, California, 90210, USA" office_hours = "Monday 10:00 to 13:00 or email for appointment" phone = "888 888 88 88" + twitter = "" skype = "echo123" telegram = "" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 56739b8d..80df0363 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -118,9 +118,9 @@ - {{ range where $.Site.Params.social ".icon" "twitter" }} - - + {{ with .Site.Params.twitter }} + + {{ end }}