{% comment %} This page creates a single 'chip' for linking to a project. It expects the name of the project as the 'project' variable {% endcomment %} {% capture purl %}/projects/{{include.project}}/{% endcapture %} {% assign pp = site.pages | where: "url", purl | first %} {% if pp %}
{% if pp.logo %} {% endif %} {{pp.shorttitle}}
{% else %}
{{include.project}}
{% endif %}