From a273f822c8c5efb1e4b31165ad9230ff0bbbd5e3 Mon Sep 17 00:00:00 2001 From: Alex Rattray Date: Tue, 24 Jan 2017 20:29:24 -0800 Subject: [PATCH] log exports.data --- pages/docs/index.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/docs/index.jsx b/pages/docs/index.jsx index 80b383e..19a0009 100644 --- a/pages/docs/index.jsx +++ b/pages/docs/index.jsx @@ -119,7 +119,9 @@ DocsContents := remark() }) .process(docMD) .contents - +exports.data = { + "title": "blahhhh" +} class Docs extends React.Component: constructor() -> this.state = { @@ -146,6 +148,7 @@ class Docs extends React.Component: this.setState({ activeSections }) render() -> + console.log(this.props.route.page)