Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/alshedivat/al-folio
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymok committed Sep 10, 2023
2 parents 51e040d + 5a96b75 commit 5009a41
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _includes/resume/education.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@
<li class="list-group-item">
<div class="row">
<div class="col-xs-2 cl-sm-2 col-md-2 text-center" style="width: 75px;">
{% if content.startDate %}
{% if content.startDate and content.startDate!="" %}
{% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %}
{% assign endDate = content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %}
{% assign date = startDate | append: " - "%}
{% assign date = date | append: endDate %}
{% else %}
{% assign date = "" %}
{% assign date = null %}
{% endif %}
<table class="table-cv">
<tbody>
<tr>
<td>
<span class="badge font-weight-bold danger-color-dark text-uppercase align-middle" style="min-width: 75px;">{{date}}</span>
{% if date %}
<span class="badge font-weight-bold danger-color-dark text-uppercase align-middle" style="min-width: 75px;">
{{date}}
</span>
{% endif %}
</td>
</tr>
{% if content.location %}
Expand Down Expand Up @@ -44,4 +48,4 @@ <h6 class="ml-1 ml-md-4" style="font-size: 0.95rem; font-style: italic;">{{conte
</div>
</li>
{% endfor %}
</ul>
</ul>

0 comments on commit 5009a41

Please sign in to comment.