diff --git a/pages/gallery.jsx b/pages/gallery.jsx index 3dd84b73..5c824681 100644 --- a/pages/gallery.jsx +++ b/pages/gallery.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 Album from '../src/components/Album' import Article from '../src/components/Article' @@ -11,7 +12,6 @@ const albumsByYear = splitBy(album => new Date(album.date).getFullYear()) function getMeta() { return { - title: 'Галерея', description: 'Галерея работ учащихся Шлиссельбургской Детской Художественной Школы' } } @@ -56,6 +56,10 @@ const Page = (props) => ( showAuthor={true} menuPadding={true} > + + {props.title} + +
{ return { collections: [...albumCollections.entries()], pageUrl, + title: 'Галерея', } }