Skip to content

Commit

Permalink
Fix: broken link for en
Browse files Browse the repository at this point in the history
  • Loading branch information
glebgorokhov committed Jun 2, 2024
1 parent 7e106fc commit 25b2afb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vitepress/theme/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const textByLang = {
</script>

<template>
<a href="/use#socks5" class="banner">
<a
:href="`/${data.lang.value !== 'ru' ? `${data.lang.value}/` : ''}use#socks5`"
class="banner"
>
<span class="lines"></span>
<span class="inner" v-html="textByLang[data.lang.value]" />
</a>
Expand Down

0 comments on commit 25b2afb

Please sign in to comment.