From 7d3269bee4a9d4f24c08153b690d25d7ee1b2757 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 9 May 2016 22:36:20 +0100 Subject: [PATCH] 1) Only show Interests / Education if the respective variables are set. 2) Improve SEO --- layouts/partials/home_biography.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/layouts/partials/home_biography.html b/layouts/partials/home_biography.html index 546e610b..1ce400bd 100644 --- a/layouts/partials/home_biography.html +++ b/layouts/partials/home_biography.html @@ -1,18 +1,16 @@
-
+
-
- -

{{ .Site.Params.name }}

-

{{ .Site.Params.role }}

-

{{ .Site.Params.organization }}

+
@@ -38,6 +35,7 @@
+ {{ if isset .Site.Params "interests" }}

Interests

    @@ -46,7 +44,9 @@ {{ end }}
+ {{ end }} + {{ if isset .Site.Params "education" }}

Education

    @@ -61,6 +61,7 @@ {{ end }}
+ {{ end }}