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