From 1e17bbac8b689efcc67ce43fe8f7ccf7778892a6 Mon Sep 17 00:00:00 2001 From: Muescha <184316+muescha@users.noreply.github.com> Date: Wed, 8 Apr 2020 15:32:40 +0200 Subject: [PATCH] reformat --- .../index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/blog/2020-02-19-how-to-build-multilingual-sites-with-gatsby/index.md b/docs/blog/2020-02-19-how-to-build-multilingual-sites-with-gatsby/index.md index bb468d79b35ea..cbc67817ced49 100644 --- a/docs/blog/2020-02-19-how-to-build-multilingual-sites-with-gatsby/index.md +++ b/docs/blog/2020-02-19-how-to-build-multilingual-sites-with-gatsby/index.md @@ -189,8 +189,14 @@ createPage({ Apart from dynamic pages, there are always some static pages. They include `index.js` and `employees.js` that handle the homepage and employees page respectively. The `gatsby-plugin-i18n` will place them on the right language-specific URLs if you follow the defined language convention-the filename suffix needs to contain the language code. -- index.js -> index.en.js, index.cs.js -- employees.js -> employees.en.js, employees.cs.js +- `index.js` -> + + - `index.en.js` + - `index.cs.js` + +- `employees.js` -> + - `employees.en.js` + - `employees.cs.js` It's also necessary to adjust the content of each of the new files to reflect its new language. That includes component properties. Take a look at this part of my index.js: