diff --git a/gatsby-node.js b/gatsby-node.js index cc4726cf..8d819fd8 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -26,11 +26,11 @@ exports.createPages = ({ actions, graphql }) => { slug } frontmatter { + id date path tags templateKey - nameSlug lang title } diff --git a/package.json b/package.json index be4c8c9f..455237c9 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "gatsby-starter-contentful-i18n", + "name": "gatsby-starter-i18n-bulma", "private": true, - "description": "Gatsby example site using the Contentful source plugin and i18n", - "version": "2.0.0", - "author": "Paul McCrodden (paulmccrodden.com)", + "description": "Gatsby example site using i18n and bulma for CSS", + "version": "0.1.5", + "author": "Walter Perdan (www.kalwaltart.it)", "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.15", "@fortawesome/free-brands-svg-icons": "^5.7.2", @@ -52,9 +52,7 @@ ], "license": "MIT", "main": "n/a", - "resolutions": { - "contentful": "6.1.0" - }, + "resolutions": "", "scripts": { "develop": "gatsby develop", "build": "gatsby build", diff --git a/src/components/Flags/En.js b/src/components/Flags/En.js index b9768c4c..e66f6d29 100644 --- a/src/components/Flags/En.js +++ b/src/components/Flags/En.js @@ -6,11 +6,11 @@ const En = (props) => { - + - - + + diff --git a/src/components/Flags/It.js b/src/components/Flags/It.js index fbad1daa..0e8e7a4d 100644 --- a/src/components/Flags/It.js +++ b/src/components/Flags/It.js @@ -4,7 +4,7 @@ import Icon from 'react-icon-base'; const It = (props) => { return ( - + diff --git a/src/components/Footer.js b/src/components/Footer.js index 82aa5f65..89fc0695 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -1,11 +1,14 @@ import React from 'react' import { Link } from 'gatsby' +import select from '../components/utils' +import menuTree from '../data/menuTree' import logo from '../img/logo.svg' const Footer = class extends React.Component { render() { const props = this.props; + const sel = select(props.langKey); return (