document title
This commit is contained in:
1 parent
69dcb8793a
commit
3da16a0a86
1 file changed
+4
@@ -1,5 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
import Head from 'next/head'
|
||||||
import App from '../../src/components/App'
|
import App from '../../src/components/App'
|
||||||
import Document from '../../src/components/Document'
|
import Document from '../../src/components/Document'
|
||||||
import Share from '../../src/components/Share'
|
import Share from '../../src/components/Share'
|
||||||
@@ -12,6 +13,9 @@ const Page = (props) => (
|
|||||||
showAuthor={true}
|
showAuthor={true}
|
||||||
menuPadding={true}
|
menuPadding={true}
|
||||||
>
|
>
|
||||||
|
<Head>
|
||||||
|
<title>{props.file.title}</title>
|
||||||
|
</Head>
|
||||||
<div className="content content_wide">
|
<div className="content content_wide">
|
||||||
<Document {...props.file} />
|
<Document {...props.file} />
|
||||||
<Share />
|
<Share />
|
||||||
|
|||||||
Reference in new issue
Block a user