mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
sphinx: fix logo_url variable in the Haiku theme (#10147)
This commit is contained in:
22
dev-python/sphinx/patches/sphinx-7.2.6.patchset
Normal file
22
dev-python/sphinx/patches/sphinx-7.2.6.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user