Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix broken internal links in hamburger menu (#613)
  • Loading branch information
fasouto authored and bletham committed Jul 18, 2018
1 parent 8d804fc commit 7ee936f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/_includes/nav/header_nav.html
Expand Up @@ -6,7 +6,11 @@
<ul>
{% for item in site.data.nav %}
<li class="navItem">
<a href="{{ item.href }}"{% if item.category == "external" %} target="_blank"{% endif %}>{{ item.title }}</a>
{% if item.category == "external" %}
<a href="{{ item.href }}" target="_blank">{{ item.title }}</a>
{% else %}
<a href="{{ item.href | relative_url }}">{{ item.title }}</a>
{% endif %}
</li>
{% endfor %}
{% if site.searchconfig %}
Expand Down

0 comments on commit 7ee936f

Please sign in to comment.