{% extends "base.html" %}

{%- block site_name %}
<img src={{ config.site_url }}/img/logo.png>
{%- if config.theme.logo %}
    <a href="{{ nav.homepage.url|url }}">
{%- else %}
    <a href="{{ nav.homepage.url|url }}" class="icon icon-home"> {{ config.site_name }}
{%- endif %}
{%- if config.theme.logo %}
    <img src="{{ config.theme.logo|url }}" class="logo" alt="{% trans %}Logo{% endtrans %}"/>
{%- endif %}
</a>
{%- endblock %}