Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2021-02-25 23:46:00 +0300
committerDarshan Baral <darshanbaral@gmail.com>2021-02-25 23:46:00 +0300
commita6e67f14b68a965224e1ff84abecd52c64504990 (patch)
tree1f8a278a2fc18152c3562388bcaeca8d843e691f
parentc83f8084501295f9b43ad36187d9d8e5e0dba36f (diff)
Can add thesis without url
-rw-r--r--layouts/partials/accordion/education.html29
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 }} &middot; {{ .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 }} &middot; {{ .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 }}