diff options
author | Ivan Katliarchuk <5395690+ivankatliarchuk@users.noreply.github.com> | 2022-02-28 06:39:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 06:39:13 +0300 |
commit | abca4629bc5c03d91dff4d6eefe014abd86c6f28 (patch) | |
tree | 7aa58783f83f93c207a5a5fd604fa1501f81ba16 | |
parent | 4c6e7d404d7536e60edaa955325e3eaabf1af1fc (diff) |
Don't show `Responsibilities` header, if there aren't any (#540)
-rw-r--r-- | layouts/partials/sections/experiences/single-position.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/sections/experiences/single-position.html b/layouts/partials/sections/experiences/single-position.html index c19c31d..b49fced 100644 --- a/layouts/partials/sections/experiences/single-position.html +++ b/layouts/partials/sections/experiences/single-position.html @@ -12,10 +12,12 @@ <!-- Add company overview --> <p>{{ .company.overview | markdownify }}</p> <!-- Add the responsibilities handled at this position --> + {{ if $position.responsibilities }} <h6 class="text-muted">{{ i18n "responsibilities" }}</h6> <ul class="justify-content-around"> {{ range $position.responsibilities }} <li>{{ . | markdownify }}</li> {{ end }} </ul> + {{ end }} </div> |