{% 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 }}">
                                <img src="{% if projectData.data.logo %}/projects/{{project}}/{{ projectData.data.logo }}{% else %}/assets/mod-placeholder.png{% endif %}">
                            </a>
                            <p class="featuredProjectName">{{ projectData.data.name }}</p>
                            <p>by <a href="/authors/{{ projectData.data.author }}/">{{ projectData.data.author }}</a></p>
                        </div>
                {% endif %}
            {% endfor %}
        {% endfor %}
    </div>
</div>
{% endmacro %}