{# Project-local override of gp-furo/base.html's logo prefetch hints.
gp-furo's default emits for logos, which Chrome
treats as Lowest priority for a future navigation — so the sidebar
first encounter triggers a fresh network request and the logo
pops in late. We use this logo on the current page, not a future one,
so rel="preload" is the correct hint. Also: light_logo and dark_logo
are the same file in this project, so emit a single tag (the browser
would dedupe URL-identical requests anyway, but two tags is noise).
#}
{% extends "!page.html" %}
{% block logo_prefetch_links %}
{%- if logo_url -%}
{%- elif theme_light_logo and theme_dark_logo -%}
{%- set light_path = pathto('_static/' + theme_light_logo, 1) -%}
{%- set dark_path = pathto('_static/' + theme_dark_logo, 1) -%}
{%- if dark_path != light_path %}
{%- endif -%}
{%- endif -%}
{% endblock %}