export default function IndexPage(props) { console.log(props.location) return ( <div> <h1>Page index</h1> </div> ); }