robertjohnson.work/_includes/projects.html

39 lines
935 B
HTML
Raw Permalink Normal View History

2018-07-25 18:01:45 -04:00
{% assign projects = site.data.data.projects %}
{% if projects %}
2016-07-29 00:47:42 -04:00
<section class="section projects-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-archive fa-stack-1x fa-inverse"></i>
</span>
2018-07-25 18:01:45 -04:00
{{ projects.title }}
2018-07-25 09:34:10 -04:00
</h2>
2018-07-25 18:01:45 -04:00
{% if projects.intro %}
<div class="intro">
2018-07-25 18:01:45 -04:00
<p>{{ projects.intro }}</p>
</div><!--//intro-->
{% endif %}
2018-07-25 18:01:45 -04:00
{% for project in projects.assignments %}
<div class="item">
2018-07-25 12:40:47 -04:00
<span class="project-title">
{% if project.link %}
<a href="{{ project.link }}" target="_blank">{{ project.title }}</a>
{% else %}
{{ project.title }}
{% endif %}
2018-07-25 12:40:47 -04:00
</span>
{% if project.tagline %}
- <span class="project-tagline">{{ project.tagline }}</span>
{% endif %}
</div><!--//item-->
{% endfor %}
</section><!--//section-->
{% endif %}