Fix menu link
parent
2309e25b10
commit
9884372fd5
|
@ -7,7 +7,7 @@
|
||||||
{% for menu in config.extra.menu %}
|
{% for menu in config.extra.menu %}
|
||||||
{%- set external = menu.external | default(value=false) -%}
|
{%- set external = menu.external | default(value=false) -%}
|
||||||
{%- if external %}
|
{%- if external %}
|
||||||
<a href={{ get_url(path=menu.url) }} target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
|
<a href={{ menu.url }} target="_blank" rel="noopener noreferrer">{{ menu.name }}</a>
|
||||||
{%- else %}
|
{%- else %}
|
||||||
<a href={{ get_url(path=menu.url) }}>{{ menu.name }}</a>
|
<a href={{ get_url(path=menu.url) }}>{{ menu.name }}</a>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
Loading…
Reference in New Issue