diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 6620350..0f7eb45 100755
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -19,7 +19,6 @@ theme = "hugo-sustain"
custom_css = []
custom_js = []
-[social]
Github = "username"
Email = "email@example.com"
Twitter = "username"
diff --git a/layouts/index.html b/layouts/index.html
index d1fa20e..cb52cc7 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -11,7 +11,7 @@
I love all things computer science and maths.
Have a look at some of my working projects.
For more check out my academic & professional Resume.
-
+
{{ partial "social.html" . }}
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 067c391..89c2374 100755
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -1,23 +1,23 @@
- {{ if .Site.Social.Github }}
-
+ {{ if .Site.Params.Github }}
+
{{ end }}
- {{ if .Site.Social.Email }}
-
+ {{ if .Site.Params.Email }}
+
{{ end }}
- {{ if .Site.Social.Twitter }}
-
+ {{ if .Site.Params.Twitter }}
+
{{ end }}
- {{ if .Site.Social.LinkedIn }}
-
+ {{ if .Site.Params.LinkedIn }}
+
{{ end }}
- {{ if .Site.Social.Stackoverflow }}
-
+ {{ if .Site.Params.Stackoverflow }}
+
{{ end }}