mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +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>
|
<ul>
|
||||||
{% for item in site.data.nav %}
|
{% for item in site.data.nav %}
|
||||||
<li class="navItem">
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if site.searchconfig %}
|
{% if site.searchconfig %}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue