Merge pull request #9271 from rdt12/pyramid-logo

Closes #9270: pyramid theme generates incorrect logo links
This commit is contained in:
Takeshi KOMIYA
2021-05-30 03:12:45 +09:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -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
--------

View File

@@ -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>