diff --git a/content/asciidoc-pages/README.md b/content/asciidoc-pages/README.md index 1404cde25..825cde22e 100644 --- a/content/asciidoc-pages/README.md +++ b/content/asciidoc-pages/README.md @@ -2,7 +2,7 @@ Most static pages on this site are written as [asciidoc](https://asciidoctor.org/docs/what-is-asciidoc/) pages. These are similar to Markdown in format but give us more flexibility. -The directory layout of these files is very important as it determines the path to the file in the site. For example a documnet in `/foo/bar/index.adoc` will be served up as `/foo/bar` on the site. You could also store the same document as `/foo/bar.adoc` but we generally discourage this as we need a parent folder to store localised versions of the page. +The directory layout of these files is very important as it determines the path to the file in the site. For example a document in `/foo/bar/index.adoc` will be served up as `/foo/bar` on the site. You could also store the same document as `/foo/bar.adoc` but we generally discourage this as we need a parent folder to store localised versions of the page. ```tree . diff --git a/gatsby-config.ts b/gatsby-config.ts index 1b8fc7fc1..6d089185e 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -85,19 +85,19 @@ const config: GatsbyConfig = { }, pages: [ { - matchPath: '/:lang?/docs/:uid', + matchPath: '/:lang?/about/', getLanguageFromPath: true }, { - matchPath: '/:lang?/temurin/commercial-support/', + matchPath: '/:lang?/docs/:uid', getLanguageFromPath: true }, { - matchPath: '/:lang?/about/', + matchPath: '/:lang?/installation/:uid', getLanguageFromPath: true }, { - matchPath: '/:lang?/installation/:uid', + matchPath: '/:lang?/temurin/:uid', getLanguageFromPath: true } ]