File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,21 @@ This document outlines how the theme is setup, its plugin and configuration.
1212
1313To use this theme, install it in a project, as a npm module: ` npm i --save @w3f/gatsby-theme-w3f ` .
1414
15- ## Customization of existing theme files
15+ In the project's ` gatsby-config.js ` , the plugin section can then define our theme, and i18n locales like so:
16+ ``` javascript
17+ plugins: [
18+ {
19+ resolve: ` @w3f/gatsby-theme-w3f` ,
20+ options: {
21+ i18nLanguages: [' en' , ' fr' ]
22+ }
23+ },
24+ ]
25+ ```
26+
27+ > The first language listed will be the default language.
28+
29+ ## Customization of existing theme files (shadowing)
1630
1731You can overide existing theme files in your project directory
1832structure. For this, we use the [ Gatsby shadowing
You can’t perform that action at this time.
0 commit comments