From 46952f6ab96086a669757ed3721ab7e7dcd63532 Mon Sep 17 00:00:00 2001 From: William Hou Date: Sun, 4 Jul 2021 02:11:12 -0700 Subject: [PATCH] Remove about section whitespace when there are no soft skills/badges (#369) * Remove about section whitespace when there are no soft skills * Check for badges in conditional --- layouts/partials/sections/about.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index 3bb02d6..9f26313 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -11,7 +11,8 @@
-
+ + {{ if or (.softSkills) (.badges) }}
{{ else }}
{{ end }}

{{ $author.name }}

{{ if .designation }}