@samitouri / QOS-React / commits / 860190da77

[website] Fix Layout Footer in Contribuiting pages. (#11014)

* Fix layout footer in contribuiting pages. * Run prettier-all

Fernando Poumian committed Oct 1, 2017 at 15:34 UTC 860190da77e7197a4ac628d1f660b728c446d92a
1 file changed +3 -1
www/src/layouts/index.js
+3 -1
@@ -43,7 +43,9 @@ class Template extends Component {
43
44 // TODO - is there a better way to check if we need we have a sidebar?
45 let layoutHasSidebar = false;
46 - if (location.pathname.match(/^\/(docs|tutorial|community|blog)/)) {
46 + if (
47 + location.pathname.match(/^\/(docs|tutorial|community|blog|contributing)/)
48 + ) {
49 layoutHasSidebar = true;
50 }
51