{% assign logo_path = site.logo | default: "/images/logo.svg" %} {% assign has_logo = site.static_files | where: "path", logo_path %} {% if has_logo[0] %}

{{ site.title }}

{% else %}

{{ site.title }}

{% endif %} {% if site.subtitle %}

{{ site.subtitle }}

{% endif %}
{% if site.data.navigation %}
{% include nav.html role="navigation" %}
{% endif %}