15 lines
379 B
Plaintext
15 lines
379 B
Plaintext
|
---
|
||
|
import Page from "../../articles/[slug].astro"
|
||
|
import { getStaticPaths as proxyGetStaticPaths } from "../../articles/[slug].astro"
|
||
|
import { extractRouteLangCode } from "astro-i18n"
|
||
|
|
||
|
/* @ts-ignore */
|
||
|
export const getStaticPaths = (props) => proxyGetStaticPaths({
|
||
|
...props,
|
||
|
langCode: extractRouteLangCode(import.meta.url),
|
||
|
})
|
||
|
|
||
|
const { props } = Astro
|
||
|
---
|
||
|
|
||
|
<Page {...props} />
|