robertjohnson.work/_includes/education.html

50 lines
1.6 KiB
HTML
Raw Normal View History

{% if site.data.data.studies %}
{% if site.education_in_main %}
<section class="section educations-section">
2018-07-25 09:34:10 -04:00
<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
</h2>
{% for education in site.data.data.studies %}
<div class="item">
<div class="meta">
<div class="upper-row">
<h3 class="degree">{{ education.degree }}</h3>
<div class="time">{{ education.time }}</div>
</div><!--//upper-row-->
<div class="university">{{ education.university }}</div>
</div><!--//meta-->
{% if education.details %}
<div class="details">
<p>{{ education.details }}</p>
</div><!--//details-->
{% endif %}
</div><!--//item-->
{% endfor %}
</section><!--//section-->
{% else %}
<div class="education-container container-block">
<h2 class="container-block-title">Education</h2>
{% for education in site.data.data.studies %}
<div class="item">
<h4 class="degree">{{ education.degree }}</h4>
<h5 class="meta">{{ education.university }}</h5>
<div class="time">{{ education.time }}</div>
</div><!--//item-->
{% endfor %}
</div><!--//education-container-->
{% endif %}
{% endif %}