diff --git a/website/core/Footer.js b/website/core/Footer.js index 19ad551a..b0d8778d 100644 --- a/website/core/Footer.js +++ b/website/core/Footer.js @@ -10,12 +10,14 @@ const React = require('react'); class Footer extends React.Component { docUrl(doc, language) { const baseUrl = this.props.config.baseUrl; - return baseUrl + 'docs/' + (language ? language + '/' : '') + doc; + return baseUrl + 'docs/' + (language && language !== 'en' + ? language + '/' : '') + doc; } pageUrl(doc, language) { const baseUrl = this.props.config.baseUrl; - return baseUrl + (language ? language + '/' : '') + doc; + return baseUrl + (language && language !== 'en' + ? language + '/' : '') + doc; } render() { @@ -43,7 +45,7 @@ class Footer extends React.Component { Configuration - + Misc diff --git a/website/static/static/index.css b/website/static/static/index.css index 89477dc8..57ca8336 100644 --- a/website/static/static/index.css +++ b/website/static/static/index.css @@ -163,7 +163,7 @@ body { } .main .comparison { - background-image: url(../../img/katex-comparison.gif); + background-image: url(../img/katex-comparison.gif); background-position: 50% 50%; background-size: cover; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);