From f81a9ef5ef5460c894eb9ad35f9198f6cabdcd4e Mon Sep 17 00:00:00 2001 From: rob Date: Tue, 4 Jan 2022 18:36:47 -0500 Subject: [PATCH] quick fix for author picture access --- app/views/post/view.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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