♻️ refactor: force a trailing slash on the nav home title (#547)

This commit is contained in:
2025-07-21 16:02:24 +07:00
parent 3b3d93e089
commit 92c1b75480

View File

@@ -1,7 +1,7 @@
<header> <header>
<nav class="navbar"> <nav class="navbar">
<div class="nav-title"> <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> </div>
{%- if config.extra.menu %} {%- if config.extra.menu %}