robertjohnson.work/_includes/projects.html
Stefan Forstenlechner 2dd2b4eec6 fixed template bug and data files
many empty div's were generated
2018-02-07 17:15:32 +00:00

26 lines
650 B
HTML

{% if site.data.projects %}
<section class="section projects-section">
<h2 class="section-title"><i class="fa fa-archive"></i>Projects</h2>
{% if site.data.projects.intro %}
<div class="intro">
<p>{{ site.data.projects.intro }}</p>
</div><!--//intro-->
{% endif %}
{% for project in site.data.projects.projects %}
<div class="item">
<span class="project-title"><a href="{{ project.link }}">{{ project.title }}</a></span>
{% if project.tagline %}
- <span class="project-tagline">{{ project.tagline }}</span>
{% endif %}
</div><!--//item-->
{% endfor %}
</section><!--//section-->
{% endif %}