{% macro projectShowcase(projects, c) %}
<div id="featured">
    <div id="featuredHelper">
        {% for project in projects %}
            {% for item in c %}
                {% if item.fileSlug == project %}
                    {% set projectData = item %}
                        <div class="featuredProject">
                            <a href="{{ ('/projects/' + project) | url }}">
                                {% if projectData.data.logo %}
                                      <img src="{{ ('/projects/' ~ project ~ '/' ~ projectData.data.logo) | url }}">
                                    {% else %}
                                      <img src="{{ '/assets/mod-placeholder.png' | url }}">
                                    {% endif %}
                            </a>
                            <div>
                                <p class="featuredProjectName">{{ projectData.data.name }}</p>
                                <p class="featuredProjectSubtitle">by <a href="{{ ('/authors/' + projectData.data.author + '/') | url}}">{{ projectData.data.author }}</a></p>
                                <div class="featuredProjectSubtitle dimText">{{ projectData.data.subtitle }}</div>
                            </div>
                        </div>
                {% endif %}
            {% endfor %}
        {% endfor %}
    </div>
</div>
{% endmacro %}