diff --git a/layout/common/article.jsx b/layout/common/article.jsx index ee1ceb6..6d741f0 100644 --- a/layout/common/article.jsx +++ b/layout/common/article.jsx @@ -58,7 +58,7 @@ module.exports = class extends Component { __html: _p('article.updated_at', ``) }}>} {/* author */} - {config.author ? : null} + {config.author ? {config.author} : null} {/* Categories */} {page.categories && page.categories.length ? {(() => { diff --git a/layout/widget/profile.jsx b/layout/widget/profile.jsx index d782467..6c9550c 100644 --- a/layout/widget/profile.jsx +++ b/layout/widget/profile.jsx @@ -29,7 +29,7 @@ class Profile extends Component { followTitle, socialLinks } = this.props; - return
+ return