{# OpenCV navbar logo: the built-in pydata `navbar-logo`, plus an "Open Source Computer Vision" subtitle stacked under the wordmark — mirrors the legacy docs.opencv.org header. The title + subtitle are wrapped in `.logo__textwrap` so they form a column to the right of the SVG mark; the version switcher (a separate navbar_start slot) still sits inline beside the title. Link-resolution logic is copied verbatim from the theme's own navbar-logo.html so the brand href behaves identically. #} {% 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 %}