diff options
author | Darshan Baral <darshanbaral@gmail.com> | 2021-02-25 23:46:00 +0300 |
---|---|---|
committer | Darshan Baral <darshanbaral@gmail.com> | 2021-02-25 23:46:00 +0300 |
commit | a6e67f14b68a965224e1ff84abecd52c64504990 (patch) | |
tree | 1f8a278a2fc18152c3562388bcaeca8d843e691f | |
parent | c83f8084501295f9b43ad36187d9d8e5e0dba36f (diff) |
Can add thesis without url
-rw-r--r-- | layouts/partials/accordion/education.html | 29 |
1 files 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 }} -<dl> - <dt>{{ .degree }}</dt> - <dd class="mb-0 ml-3">{{ .dates }} · {{ .college }}</dd> - {{ if .thesis_url }} - <dd class="mb-0 ml-4"> - Thesis: - <a href="{{ .thesis_url }}" - ><i>{{ .thesis_title }}</i></a - > - </dd> - {{ end }} -</dl> + +<h4 style="text-decoration: underline;">{{ .degree }}</h4> +<p {{ if .thesis_title }}class="mb-0" {{ end }}> + {{- .dates }} · {{ .college -}} +</p> +{{ if .thesis_title }} +{{ if .thesis_url }} +<p> + Thesis: + <a href="{{ .thesis_url }}"><i>{{ .thesis_title }}</i></a> +</p> +{{ else }} +<p> + Thesis: <i>{{ .thesis_title }}</i> +</p> +{{ end }} +{{ end }} {{ end }} |