Skip to content

Commit 335623c

Browse files
LalitNMpeterjc
authored andcommitted
Use relative url filter consistently
1 parent d6ba7c0 commit 335623c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_includes/sidebar.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>
1313
-->
1414
<div class="sidebar-logo">
1515
<a href="http://biopython.org/">
16-
<img src="/assets/images/biopython_logo_white.png" alt="Biopython Logo" title="Biopython Home" width="100%"/>
16+
<img src={{ "/assets/images/biopython_logo_white.png" | relative_url }} alt="Biopython Logo" title="Biopython Home" width="100%"/>
1717
</a>
1818
</div>
1919
<p class="lead">{{ site.tagline }}</p>
@@ -33,7 +33,7 @@ <h1>
3333
{% for node in pages_list %}
3434
{% if node.title != null %}
3535
{% if node.layout == "page" %}
36-
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
36+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href={{ node.url | relative_url }}>{{ node.title }}</a>
3737
{% endif %}
3838
{% endif %}
3939
{% endfor %}
@@ -44,7 +44,7 @@ <h1>
4444
-->
4545
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a>
4646
</nav>
47-
47+
4848
</div>
4949
<div class="sidebar-footer">
5050
Biopython version {{ site.version }}<br>

0 commit comments

Comments
 (0)