26 lines
805 B
JavaScript
26 lines
805 B
JavaScript
module.exports = {
|
|
siteMetadata: {
|
|
title: 'Nextream',
|
|
description: 'Nextream - Tech & IT Solutions',
|
|
author: 'Nextream.net',
|
|
},
|
|
plugins: ['gatsby-plugin-resolve-src', 'gatsby-plugin-eslint',
|
|
{
|
|
resolve: `gatsby-plugin-intl`,
|
|
options: {
|
|
// language JSON resource path
|
|
path: `${__dirname}/src/intl`,
|
|
// supported language
|
|
languages: [`en`, `es`],
|
|
// language file path
|
|
defaultLanguage: `es`,
|
|
// option to redirect to `/ko` when connecting `/`
|
|
redirect: true,
|
|
// Utilizar la URL del recurso JSON de idioma desde las variables de entorno
|
|
remoteJsonUrl: `http://localhost:8000/data/language/languages.json`,
|
|
},
|
|
},
|
|
],
|
|
trailingSlash: 'always',
|
|
};
|