Skip to content

Commit

Permalink
fix docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
abuttaro committed Feb 18, 2018
1 parent 8c5d85f commit aaf447e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_includes/docs_ul.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{% for item in include.items %}
{% assign item_url = item | prepend:"/docs/" | append:"/" %}
{% assign p = site.docs | where:"url", item_url | first %}
<li class="{% if item_url == page.url %}current{% endif %}"><a href="{{ p.url }}">{{ p.title }}</a></li>
<li class="{% if item_url == page.url %}current{% endif %}"><a href="{{ site.baseurl }}{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
</ul>
4 changes: 2 additions & 2 deletions docs/_includes/section_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% else %}
{% assign previous = forloop.index0 | minus: 1 %}
{% assign previous_page = docs[previous] | prepend:"/docs/" | append:"/" %}
<a href="{{ previous_page }}" class="prev">Back</a>
<a href="{{ site.baseurl }}{{ previous_page }}" class="prev">Back</a>
{% endif %}
</div>
<div class="right align-left">
Expand All @@ -29,7 +29,7 @@
{% else %}
{% assign next = forloop.index0 | plus: 1 %}
{% assign next_page = docs[next] | prepend:"/docs/" | append:"/" %}
<a href="{{ next_page }}" class="next">Next</a>
<a href="{{ site.baseurl }}{{ next_page }}" class="next">Next</a>
{% endif %}
</div>
</div>
Expand Down

0 comments on commit aaf447e

Please sign in to comment.