scottjohnson.pro/_includes/education.html

55 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2018-07-25 18:01:45 -04:00
{% assign education = site.data.data.education %}
{% if education %}
{% if site.data.data.sidebar.education %}
<div class="education-container container-block">
2018-07-29 08:22:23 -04:00
<h2 class="container-block-title">
{{ education.title }}
2018-07-29 08:22:23 -04:00
</h2>
{% for graduation in education.info %}
<div class="item">
<h4 class="degree">{{ graduation.degree }}</h4>
<h5 class="meta">{{ graduation.university }}</h5>
<div class="time">{{ graduation.time }}</div>
</div><!--//item-->
{% endfor %}
</div><!--//education-container-->
2018-07-25 12:40:47 -04:00
{% else %}
<section class="section educations-section">
<h2 class="section-title">
<span class="fa-stack fa-xs">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-graduation-cap fa-stack-1x fa-inverse"></i>
</span>
{{ education.title }}
</h2>
{% for graduation in education.info %}
2018-07-29 08:22:23 -04:00
<div class="item">
2018-07-29 08:22:23 -04:00
<div class="meta">
2018-07-29 08:22:23 -04:00
<div class="upper-row">
<h3 class="degree">{{ graduation.degree }}</h3>
<div class="time">{{ graduation.time }}</div>
</div><!--//upper-row-->
2018-07-29 08:22:23 -04:00
<div class="university">{{ graduation.university }}</div>
</div><!--//meta-->
2018-07-29 08:22:23 -04:00
{% if graduation.details %}
<div class="details">
{{ graduation.details | markdownify }}
</div><!--//details-->
{% endif %}
</div><!--//item-->
{% endfor %}
</section><!--//section-->
2018-07-25 12:40:47 -04:00
{% endif %}
{% endif %}