Files
haikuports/dev-python/sphinx/patches/sphinx-7.2.6.patchset

23 lines
721 B
Plaintext

From 6e8e69f89446b389a4adc1d553d90605e008aa39 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Sat, 24 Feb 2024 21:47:09 -0700
Subject: fix logo->logo_url in the Haiku theme
diff --git a/sphinx/themes/haiku/layout.html b/sphinx/themes/haiku/layout.html
index 4e14826..1af9a12 100644
--- a/sphinx/themes/haiku/layout.html
+++ b/sphinx/themes/haiku/layout.html
@@ -39,7 +39,7 @@
<img class="logo" src="{{ logo_url|e }}" alt="Logo"/>
</a>
{%- else %}
- {%- if logo -%}
+ {%- if logo_url -%}
<img class="rightlogo" src="{{ logo_url|e }}" alt="Logo"/>
{%- endif -%}
<h1 class="heading"><a href="{{ pathto('index') }}">
--
2.42.1