Open olavea opened 4 years ago
Adhering to the normal React composition model, import your layout component and use it to wrap the content of the page.
src/pages/index.js import React from "react" import Layout from "../components/layout" export default () => ( <Layout> <div>Hello World</div> </Layout> )
Looks like this is already done. What do you think @raae ?
Adhering to the normal React composition model, import your layout component and use it to wrap the content of the page.