Ursprung
dc771db3e4
Commit
dee73abb90
@ -7,8 +7,6 @@ import LanguageWarning from "@components/LanguageWarning.astro";
|
|||||||
export const getStaticPaths = createGetStaticPaths(async () => {
|
export const getStaticPaths = createGetStaticPaths(async () => {
|
||||||
let posts = await getCollection("rules", value => value.id.split("/")[0] === astroI18n.locale);
|
let posts = await getCollection("rules", value => value.id.split("/")[0] === astroI18n.locale);
|
||||||
|
|
||||||
console.log(posts);
|
|
||||||
|
|
||||||
const germanPosts = await getCollection("rules", entry => entry.id.split("/")[0] === "de");
|
const germanPosts = await getCollection("rules", entry => entry.id.split("/")[0] === "de");
|
||||||
|
|
||||||
germanPosts.forEach(value => {
|
germanPosts.forEach(value => {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren