From 2ae15e5235c268f97ca7f4f0d4ad840c734f37ea Mon Sep 17 00:00:00 2001 From: Gabriel Jean <29616662+GabrielJean@users.noreply.github.com> Date: Mon, 16 May 2022 01:08:47 -0400 Subject: Added logic to the education icon line (#589) Co-authored-by: Emruz Hossain --- layouts/partials/sections/education-alt.html | 17 ++++++++++------- layouts/partials/sections/education.html | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) (limited to 'layouts/partials/sections') diff --git a/layouts/partials/sections/education-alt.html b/layouts/partials/sections/education-alt.html index 8885a0f..5867691 100644 --- a/layouts/partials/sections/education-alt.html +++ b/layouts/partials/sections/education-alt.html @@ -12,13 +12,16 @@ {{ .section.name }} {{ end }} -
- - - {{ range .degrees}} - -
-
+
+ + + {{ $count := len .degrees }} + {{ range .degrees}} + +
+ {{ if gt $count 1}} +
+ {{ end }}
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html index a547cb2..6cd51c1 100644 --- a/layouts/partials/sections/education.html +++ b/layouts/partials/sections/education.html @@ -12,13 +12,16 @@ {{ .section.name }} {{ end }} -
- - - {{ range .degrees}} - -
-
+
+ + + {{ $count := len .degrees }} + {{ range .degrees}} + +
+ {{ if gt $count 1}} +
+ {{ end }}
-- cgit v1.2.3