Preparing for first blog post.

This commit is contained in:
2018-11-27 08:49:14 +11:00
parent acdea924a2
commit cf80504123
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -41,7 +41,7 @@ const TestBlogs = {
//Functions for normalization //Functions for normalization
const NormalizeArticle = article => { const NormalizeArticle = article => {
article.url = `/blog/article/${article.handle}`; article.url = `/blog/article/${article.handle}`;
article.image = require(`@assets/images/${article.image}`); article.image = require(`@assets/${article.image}`);
return article; return article;
}; };

View File

@ -59,7 +59,7 @@ export default withLanguage(props => {
</NavLink> </NavLink>
</ContentBox> </ContentBox>
<Paragraph itemProp="description" children={ article.description } /> <Paragraph itemProp="description" children={ article.shortDescription } />
<NavLink itemProp="sameAs" to={ article.url } children={ lang.blog.article.readMore } /> <NavLink itemProp="sameAs" to={ article.url } children={ lang.blog.article.readMore } />
</div> </div>
</ContentBox> </ContentBox>