diff --git a/app/views/post/view.pug b/app/views/post/view.pug index 2fb902a..337995d 100644 --- a/app/views/post/view.pug +++ b/app/views/post/view.pug @@ -35,7 +35,7 @@ block content .uk-margin h4 Post author div(uk-grid).uk-grid-small - if post.author.picture.small + if post.author.picture && post.author.picture.small .uk-width-auto img(src=`/image/${post.author.picture.small}`) .uk-width-expand