Don't add empty line to education if there is no 'more'

This commit is contained in:
tcx4c70 2022-02-12 17:08:22 +00:00 committed by MERT BAKIR
parent c140d401bb
commit c4e32bbd14

View file

@ -2,7 +2,7 @@
<div class="item"> <div class="item">
<h2 class="item-title">{{ .name }}</h2> <h2 class="item-title">{{ .name }}</h2>
<span>{{ .university }}</span><br> <span>{{ .university }}</span><br>
<span>{{ if .more }}{{ .more }}{{ end }}</span><br> {{ if .more }}<span>{{ .more }}</span><br>{{ end }}
<span>{{ .date }}{{ if .gpa }} | GPA: {{ .gpa }}{{ end }}</span> <span>{{ .date }}{{ if .gpa }} | GPA: {{ .gpa }}{{ end }}</span>
</div> </div>
{{ end }} {{ end }}