tabi: improve logic on newtab opening for navbar
this was pretty obvious tbh
This commit is contained in:
parent
b891d9a9b0
commit
7e12062f7d
1 changed files with 1 additions and 2 deletions
|
@ -14,11 +14,10 @@
|
|||
{%- if menu.url is starting_with("http") -%}
|
||||
{%- if trailing_slash -%}
|
||||
<a class="nav-links no-hover-padding" href="{{ menu.url }}/"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
{%- else -%}
|
||||
<a class="nav-links no-hover-padding" href="{{ menu.url }}"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
{%- endif -%}
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
{%- else -%}
|
||||
<a class="nav-links no-hover-padding" href="{{ get_url(path=menu.url, lang=lang, trailing_slash=trailing_slash) }}">
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue