diff --git a/layouts/partials/sections/education-alt.html b/layouts/partials/sections/education-alt.html
index 7d9597f..5ba1059 100644
--- a/layouts/partials/sections/education-alt.html
+++ b/layouts/partials/sections/education-alt.html
@@ -51,18 +51,19 @@
{{ if .takenCourses }}
{{ i18n "taken_courses" }}
- {{ if .takenCourses.showGrades }}
+ {{ if .takenCourses.showGrades }}
+ {{ $hideScale := .takenCourses.hideScale }}
{{ i18n "course_name" }} |
- {{ i18n "total_credit" }} |
+ {{ if not $hideScale }}{{ i18n "total_credit" }} | {{ end }}
{{ i18n "obtained_credit" }} |
{{ range $index,$course := .takenCourses.courses }}
{{ $course.name }} |
- {{ $course.outOf }} |
+ {{ if not $hideScale }}{{ $course.outOf }} | {{ end }}
{{ $course.achieved }} |
{{ end }}
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html
index b6b5aee..21c195c 100644
--- a/layouts/partials/sections/education.html
+++ b/layouts/partials/sections/education.html
@@ -51,18 +51,19 @@
{{ if .takenCourses }}
{{ i18n "taken_courses"}}
- {{ if .takenCourses.showGrades }}
+ {{ if .takenCourses.showGrades }}
+ {{ $hideScale := .takenCourses.hideScale }}
{{ i18n "course_name"}} |
- {{ i18n "total_credit"}} |
+ {{ if not $hideScale }}{{ i18n "total_credit"}} | {{ end }}
{{ i18n "obtained_credit"}} |
{{ range $index,$course := .takenCourses.courses }}
{{ $course.name }} |
- {{ $course.outOf }} |
+ {{ if not $hideScale }}{{ $course.outOf }} | {{ end }}
{{ $course.achieved }} |
{{ end }}