diff --git a/src/server.jsx b/src/server.jsx index 481875181a1b..cfa31e57a0dc 100644 --- a/src/server.jsx +++ b/src/server.jsx @@ -11,6 +11,7 @@ import Site from './components/Site/Site'; // Import Images import Favicon from './favicon.ico'; +import Logo from './assets/logo-on-white-bg.svg'; // Define bundles (previously used `Object.values(locals.assets)`) but // can't retrieve from there anymore due to separate compilation. @@ -23,6 +24,7 @@ const bundles = [ export default locals => { let { assets } = locals.webpackStats.compilation; let title = getPageTitle(locals.content, locals.path); + let description = 'webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.'; return ReactDOMServer.renderToString( @@ -32,7 +34,16 @@ export default locals => { {title} - + + + + + + + + + + { Object.keys(assets).filter(asset => /\.css$/.test(asset)).map(path => (