mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9271 from rdt12/pyramid-logo
Closes #9270: pyramid theme generates incorrect logo links
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -59,6 +59,7 @@ Bugs fixed
|
||||
:confval:`man_make_section_directory` is not correct
|
||||
* #9224: ``:param:`` and ``:type:`` fields does not support a type containing
|
||||
whitespace (ex. ``Dict[str, str]``)
|
||||
* #9270: html theme : pyramid theme generates incorrect logo links
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
{%- if logo %}
|
||||
{%- if logo_url %}
|
||||
<div class="header" role="banner">
|
||||
<div class="logo">
|
||||
<a href="{{ pathto(root_doc)|e }}">
|
||||
<img class="logo" src="{{ pathto(logo, 1)|e }}" alt="Logo"/>
|
||||
<img class="logo" src="{{ logo_url|e }}" alt="Logo"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user