mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-06-29 03:30:57 +00:00
Fix broken internal links in hamburger menu (#613)
This commit is contained in:
parent
8d804fce0c
commit
7ee936f46d
1 changed files with 5 additions and 1 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue