diff --git a/layout/widget/profile.jsx b/layout/widget/profile.jsx index e1b34bd..3945ceb 100644 --- a/layout/widget/profile.jsx +++ b/layout/widget/profile.jsx @@ -10,7 +10,7 @@ class Profile extends Component { return
{author}
: null} + {author ?{author}
: null} {authorTitle ?{authorTitle}
: null} {location ?diff --git a/scripts/injector.js b/scripts/injector.js index bd22a08..629da45 100644 --- a/scripts/injector.js +++ b/scripts/injector.js @@ -8,4 +8,4 @@ hexo.extend.injector.register('head_begin', '', 'default'); hexo.extend.injector.register('head_begin', ' ', 'default'); -hexo.extend.injector.register('head_begin', '', 'default'); +hexo.extend.injector.register('head_begin', '', 'default'); \ No newline at end of file