From d86dabff8dcca0973adbc3e0fd99df3104b05c5c Mon Sep 17 00:00:00 2001 From: Phu Tu Date: Tue, 26 Sep 2023 12:11:13 +0200 Subject: [PATCH] Add german as context, #510 --- gatsby/lobid/gatsby-node.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gatsby/lobid/gatsby-node.js b/gatsby/lobid/gatsby-node.js index 523d431..9f8f19f 100644 --- a/gatsby/lobid/gatsby-node.js +++ b/gatsby/lobid/gatsby-node.js @@ -116,7 +116,8 @@ exports.createPages = async ({ graphql, actions }) => { path: node.frontmatter.slug, component: path.resolve(`./src/templates/markdown.js`), context: { - slug: node.frontmatter.slug + slug: node.frontmatter.slug, + lang: "de" }, }) })