Use eleventy's url function to apply pathPrefix.
All checks were successful
Build Eleventy Forgero / build (24.x) (push) Successful in 37s

This commit is contained in:
天クマ 2026-05-14 14:59:13 -03:00
commit 6b8635defe
11 changed files with 172 additions and 102 deletions

View file

@ -16,12 +16,12 @@
</script>
</div>
<div id="linksHelper">
<div id="music">
</div>
<div id="music"></div>
<ul id="headerLinks">
<a href="/{{ langKey }}/">{{ i18n[langKey].home }}</a>
<a href="/{{ langKey }}/blog/">blog</a>
<a href="/{{ langKey }}/misc/">misc</a>
<a href="{{ ('/' ~ langKey ~ '/') | url }}">{{ i18n[langKey].home }}</a>
<a href="{{ ('/' ~ langKey ~ '/blog/') | url }}">blog</a>
<a href="{{ ('/' ~ langKey ~ '/misc/') | url }}">misc</a>
</ul>
</div>
</header>