Remove about section whitespace when there are no soft skills/badges (#369)
* Remove about section whitespace when there are no soft skills * Check for badges in conditional
This commit is contained in:
parent
4099f4f1e6
commit
46952f6ab9
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@
|
|||
<div class="container anchor p-lg-5 about-section" id="{{ $sectionID }}">
|
||||
<div class="row pt-sm-2 pt-md-4 align-self-center">
|
||||
<!-- summary -->
|
||||
<div class="col-sm-6">
|
||||
<!-- takes up full section width if no badges/soft skills are specified -->
|
||||
{{ if or (.softSkills) (.badges) }} <div class="col-sm-6"> {{ else }} <div class="col-sm-12"> {{ end }}
|
||||
<h3 class="p-1">{{ $author.name }}</h3>
|
||||
{{ if .designation }}
|
||||
<h5 class="p-1">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue