File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
5
5
{% if logo %}
6
- {% if theme_logo_doc %}
7
- < a class ="navbar-brand " href ="{{ pathto(theme_logo_doc ) }} ">
6
+ {% if not theme_logo_link %}
7
+ < a class ="navbar-brand " href ="{{ pathto(master_doc ) }} ">
8
8
< img src ="{{ pathto('_static/' + logo, 1) }} " class ="logo " alt ="logo ">
9
9
</ a >
10
- {% else %}
11
- < a class ="navbar-brand " href ="{{ pathto(master_doc) }} ">
10
+ {% elif theme_logo_link[:4] == 'http' %}
11
+ < a class ="navbar-brand " href ="{{ theme_logo_link }} ">
12
12
< img src ="{{ pathto('_static/' + logo, 1) }} " class ="logo " alt ="logo ">
13
13
</ a >
14
+ {% else %}
15
+ < a class ="navbar-brand " href ="{{ pathto(theme_logo_link) }} ">
16
+ < img src ="{{ pathto('_static/' + logo, 1) }} " class ="logo " alt ="logo ">
17
+ </ a >
14
18
{% endif %}
15
19
{% endif %}
16
20
< button class ="navbar-toggler " type ="button " data-toggle ="collapse " data-target ="#navbar-menu " aria-controls ="navbar-menu " aria-expanded ="false " aria-label ="Toggle navigation ">
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ sidebarwidth = 270
7
7
sidebar_includehidden = True
8
8
use_edit_page_button = False
9
9
external_links =
10
+ logo_link =
10
11
github_url =
11
12
twitter_url =
12
- logo_doc =
13
13
google_analytics_id =
14
14
show_prev_next = True
15
15
search_bar_text = Search the docs ...
You can’t perform that action at this time.
0 commit comments