Fix menu link

pull/1/head
mat ess 2022-08-13 00:45:01 -04:00
parent 2309e25b10
commit 9884372fd5
1 changed files with 1 additions and 1 deletions

View File

@ -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 -%}