From a6e67f14b68a965224e1ff84abecd52c64504990 Mon Sep 17 00:00:00 2001 From: Darshan Baral Date: Thu, 25 Feb 2021 12:46:00 -0800 Subject: Can add thesis without url --- layouts/partials/accordion/education.html | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/layouts/partials/accordion/education.html b/layouts/partials/accordion/education.html index 463c8c8..d119752 100644 --- a/layouts/partials/accordion/education.html +++ b/layouts/partials/accordion/education.html @@ -1,14 +1,19 @@ {{ range .Site.Params.education.list }} -
-
{{ .degree }}
-
{{ .dates }} · {{ .college }}
- {{ if .thesis_url }} -
- Thesis: - {{ .thesis_title }} -
- {{ end }} -
+ +

{{ .degree }}

+

+ {{- .dates }} · {{ .college -}} +

+{{ if .thesis_title }} +{{ if .thesis_url }} +

+ Thesis: + {{ .thesis_title }} +

+{{ else }} +

+ Thesis: {{ .thesis_title }} +

+{{ end }} +{{ end }} {{ end }} -- cgit v1.2.3