diff --git a/package.json b/package.json index 05a3d1b22..eb1a6ed4e 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "react-cookie": "^0.3.4", "react-dom": "^0.14.0", "react-google-analytics": "^0.2.0", + "react-helmet": "^2.3.1", "react-i13n": "^1.0.0", "react-i13n-ga": "^0.1.3", "react-paginate": "^0.4.0", diff --git a/src/scripts/components/Application.js b/src/scripts/components/Application.js index f19efb106..65d3aa48d 100644 --- a/src/scripts/components/Application.js +++ b/src/scripts/components/Application.js @@ -3,15 +3,16 @@ import ApplicationStore from 'stores/ApplicationStore'; import provideContext from 'fluxible-addons-react/provideContext'; import connectToStores from 'fluxible-addons-react/connectToStores'; import { handleHistory } from 'fluxible-router'; -import debug from 'utils/Debug'; - import { ReactI13n, setupI13n } from 'react-i13n'; import reactI13nGoogleAnalytics from 'react-i13n-ga'; +import Helmet from 'react-helmet'; + +import debug from 'utils/Debug'; +import config from '../config'; const gaPlugin = new reactI13nGoogleAnalytics('UA-8496014-1'); if (process.env.BROWSER) ga('require', 'linkid'); - class Application extends React.Component { render() { const Handler = this.props.currentRoute.get('handler'); @@ -19,6 +20,7 @@ class Application extends React.Component { debug('component:APPLICATION', 'Render'); return (
+