forked from deepStateMirrors/tabi
♻️ refactor: force a trailing slash on the nav home title (#547)
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
9f5f307444
commit
0639c0c397
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<header>
|
||||
<nav class="navbar">
|
||||
<div class="nav-title">
|
||||
<a class="home-title" href="{{ get_url(path='/', lang=lang) }}">{{ config.title }}</a>
|
||||
<a class="home-title" href="{{ get_url(path='/', lang=lang, trailing_slash=(lang == config.default_language)) }}">{{ config.title }}</a>
|
||||
</div>
|
||||
|
||||
{%- if config.extra.menu %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue