href lang for different pages

This commit is contained in:
vjrj 2018-03-14 10:35:07 +01:00
parent 6e3d23e740
commit bf757a7f84

View file

@ -107,8 +107,8 @@ const App = props => (
<meta charSet="utf-8" /> <meta charSet="utf-8" />
<title>{i18n.t('AppName')}</title> <title>{i18n.t('AppName')}</title>
<meta name="description" content={`${i18n.t('AppDescrip')}: ${i18n.t('AppDescripLong')}`} /> <meta name="description" content={`${i18n.t('AppDescrip')}: ${i18n.t('AppDescripLong')}`} />
<link rel="alternate" href="https://fires.comunes.org/" hrefLang="en" /> <link rel="alternate" href={`https://fires.comunes.org${history.location.pathname}`} hrefLang="en" />
<link rel="alternate" href="https://fuegos.comunes.org/" hrefLang="es" /> <link rel="alternate" href={`https://fuegos.comunes.org${history.location.pathname}`} hrefLang="es" />
</Helmet> </Helmet>
<Navigation {...props} /> <Navigation {...props} />
<ReSendEmail {...props} /> <ReSendEmail {...props} />