This commit is contained in:
Elinorre 2020-02-24 17:46:33 +03:00
parent b67b0d66e3
commit 714042de21

View File

@ -48,7 +48,7 @@ const IndexPage = ({ data }) => {
</div>
<hr style={{marginBottom: `50px`}}/>
{/* --------------------------------- */}
<h1 style={{textAlign: `center`}}>Последние новости</h1>
<h1 style={{textAlign: `center`}}><FormattedMessage id="more.news"/></h1>
{ news.map(({node}) => {
const title = node.frontmatter.title;
const date = node.frontmatter.date;