Skip to content

Commit eef9645

Browse files
dohvisryjones
authored andcommitted
[FAB-9548] Fix image links on layout.html
use pathto to keep links relative Change-Id: Id60c9702630dbd83d256166db31257f05890a91c Signed-off-by: Dohyeon Kim <nero.union12@gmail.com> Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com> (cherry picked from commit 6238d58)
1 parent d78039b commit eef9645

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/source/_templates/layout.html

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{% extends "!layout.html" %}
22
{% block sidebartitle %}
33
{{ super() }}
4-
<br><img style="background-color: #fff; height: unset; width: unset;" alt="_images/hyperledger_fabric_logo_color.png" src="_images/hyperledger_fabric_logo_color.png" />
4+
5+
<br><img style="background-color: #fff; height: unset; width: unset;" alt="Hyperledger Fabric" src={{ pathto("_images/hyperledger_fabric_logo_color.png",1) }} />
56
<br>
6-
<a href="https://github.com/hyperledger/fabric"><img style="padding: 0px; margin: auto auto auto auto;" alt="GitHub" src="_static/images/github_button.png"/></a>
7-
&nbsp;<a href="https://stackoverflow.com/questions/tagged/hyperledger-fabric"><img style="padding: 0px; margin: auto auto auto auto;" alt="StackOverflow" src="_static/images/stackoverflow_button.png"/></a>
8-
&nbsp;<a href="https://chat.hyperledger.org"><img style="padding: 0px; margin: auto auto auto auto;" alt="Rocket Chat" src="_static/images/rocketchat_button.png"/></a>
9-
&nbsp;<a href="https://www.youtube.com/playlist?list=PL0MZ85B_96CH7wvtrRzV7SvtRY0sI0DEg"><img style="padding: 0px; margin: auto auto auto auto;" alt="Youtube Channel" src="_static/images/youtube_button.png"/></a>
7+
<a href="https://github.com/hyperledger/fabric"><img style="padding: 0px; margin: auto auto auto auto;" alt="GitHub" src={{ pathto("_static/images/github_button.png",1) }}/></a>
8+
&nbsp;<a href="https://stackoverflow.com/questions/tagged/hyperledger-fabric"><img style="padding: 0px; margin: auto auto auto auto;" alt="StackOverflow" src={{ pathto("_static/images/stackoverflow_button.png",1) }}/></a>
9+
&nbsp;<a href="https://chat.hyperledger.org"><img style="padding: 0px; margin: auto auto auto auto;" alt="Rocket Chat" src={{ pathto("_static/images/rocketchat_button.png",1) }} /></a>
10+
&nbsp;<a href="https://www.youtube.com/playlist?list=PL0MZ85B_96CH7wvtrRzV7SvtRY0sI0DEg"><img style="padding: 0px; margin: auto auto auto auto;" alt="Youtube Channel" src={{ pathto("_static/images/youtube_button.png",1) }}/></a>
1011
{% endblock %}

0 commit comments

Comments
 (0)