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

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsonic182 <johander1822@gmail.com>2022-03-30 08:51:07 +0300
committersonic182 <johander1822@gmail.com>2022-03-30 08:51:07 +0300
commitb10f02eee9af6f6e9dc79218a22134c60cf40a6b (patch)
treeb66dc668736a31c83a7e0700d38b6ccd6bc9625d
parent20580ecfcec02cf7b209be23c4bf84f2ef9c3af1 (diff)
optional GPA
-rw-r--r--layouts/partials/sections/education.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html
index ca4f3b5..f2a5f04 100644
--- a/layouts/partials/sections/education.html
+++ b/layouts/partials/sections/education.html
@@ -35,12 +35,14 @@
{{ .school.name }}
{{ end }}
+ {{ if .GPA }}
<div class="py-1">
GPA:
<i>
<small>{{ .GPA }}</small>
</i>
</div>
+ {{ end }}
<div class="py-1 education-content">
{{ .content | markdownify}}
</div>
@@ -61,4 +63,4 @@
</div>
</div>
</section>
-{{ end }} \ No newline at end of file
+{{ end }}