{/* Creation Date */}
{page.date && ${date(page.date)}`)
+ __html: _p('article.created_at', ``)
}}>}
{/* Last Update Date */}
{shouldShowUpdated && ${date(page.updated)}`)
}}>}
{/* author */}
- {page.author ? {page.author} : null}
+ {config.author ? {config.author} : null}
{/* Categories */}
{page.categories && page.categories.length ?
{(() => {
@@ -86,9 +86,9 @@ module.exports = class extends Component {
: null}
{/* Title */}
{page.title !== '' && index ? : null}
- {page.title !== '' && !index ? {page.title}
: null} + {page.title !== '' && !index ?{page.title}
: null} {/* Content/Excerpt */} - + {/* Licensing block */} {!index && article && article.licenses && Object.keys(article.licenses) ?
{page.tags.map((tag, index) => {
- return {tag.name}{index !== page.tags.length-1? ', ':''};
+ return {tag.name}{index !== page.tags.length-1? ', ':''};
})}
: null}
{/* "Read more" button */}
diff --git a/layout/widget/profile.jsx b/layout/widget/profile.jsx
index 3945ceb..9b8539b 100644
--- a/layout/widget/profile.jsx
+++ b/layout/widget/profile.jsx
@@ -9,7 +9,7 @@ class Profile extends Component {
}
return
{links.filter(link => typeof link === 'object').map(link => {
- return
{'icon' in link ? : link.name}
;
@@ -29,7 +29,7 @@ class Profile extends Component {
followTitle,
socialLinks
} = this.props;
- return
+ return