diff --git a/pages/documents.jsx b/pages/documents.jsx index 6271f4c0..8ac04425 100644 --- a/pages/documents.jsx +++ b/pages/documents.jsx @@ -1,5 +1,6 @@ import React from 'react' import axios from 'axios' +import Head from 'next/head' import App from '../src/components/App' import menuModel from '../src/models/menu' import { buildMenu } from '../src/lib/menu' @@ -12,7 +13,6 @@ import { unique } from '../src/utils/common' function getDocumentsMeta() { return { - title: 'Документы', description: 'Документы Шлиссельбургской ДХШ', } } @@ -104,6 +104,10 @@ const Page = (props) => ( showAuthor={true} menuPadding={true} > +
+{JSON.stringify(props, null, 4)} */}
@@ -129,6 +133,7 @@ Page.getInitialProps = async (ctx) => {
return {
collections,
pageUrl,
+ title: 'Документы',
}
}