Again
This commit is contained in:
@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user