mirror of
https://github.com/yude-jp/yude.jp
synced 2026-10-24 08:15:11 +09:00
Add translation in title tag
This commit is contained in:
1 parent
cb3ce63e78
commit
32b327df34
1 file changed
+2
-1
+2
-1
@@ -15,10 +15,11 @@ export default function Index(props) {
|
||||
const router = useRouter()
|
||||
const { locale, locales, defaultLocale, pathname } = router
|
||||
const { t, lang } = useTranslation("index")
|
||||
const home = t('home')
|
||||
|
||||
return (
|
||||
|
||||
<Layout title="ホーム">
|
||||
<Layout title="{home}">
|
||||
<Navbar />
|
||||
<div className="my-9">
|
||||
<div class="m-10">
|
||||
|
||||
Reference in new issue
Block a user