{# Displays the logo of your documentation site, in the header navbar. #} {# Logo link generation -#} {% if theme_logo_link %} {% set href = theme_logo_link %} {% else %} {% if not theme_logo.get("link") %} {% set href = pathto(root_doc) %} {% elif hasdoc(theme_logo.get("link")) %} {% set href = pathto(theme_logo.get("link")) %} {# internal page #} {% else %} {% set href = theme_logo.get("link") %} {# external url #} {% endif %} {% endif %} {#- Logo HTML and image #}