mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 18:39:14 +03:00
14 lines
328 B
Plaintext
14 lines
328 B
Plaintext
---
|
|
import { getLanguageKeys } from "@i18n/utils";
|
|
import { DEFAULT_LANGUAGE } from "@root/constants";
|
|
import HomeTemplate from "@templates/Home.astro";
|
|
|
|
export function getStaticPaths() {
|
|
return getLanguageKeys()
|
|
.filter((lang) => lang !== DEFAULT_LANGUAGE)
|
|
.map((lang) => ({ params: { lang } }));
|
|
}
|
|
---
|
|
|
|
<HomeTemplate />
|