Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #61 from aoberoi/fix-docs-links
Browse files Browse the repository at this point in the history
add relative_url filter to docs links
  • Loading branch information
aoberoi committed May 11, 2018
2 parents 77f5b35 + 2752892 commit 6d4977b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_layouts/default.html
Expand Up @@ -30,14 +30,14 @@ <h1 class="header">{{ site.title | default: site.github.repository_name }}</h1>
<h3 class="header">References:</h3>
<ul class="navigation">
{% for item in site.references %}
<li class="navigation"><a href="{{ item.url }}">{{ item.title }}</a></li>
<li class="navigation"><a href="{{ item.url | relative_url }}">{{ item.title }}</a></li>
{% endfor %}
</ul>

<h3 class="header">Guides:</h3>
<ul class="navigation">
{% for item in site.guides %}
<li class="navigation"><a href="{{ item.url }}">{{ item.title }}</a></li>
<li class="navigation"><a href="{{ item.url | relative_url }}">{{ item.title }}</a></li>
{% endfor %}
</ul>

Expand Down

0 comments on commit 6d4977b

Please sign in to comment.