From 0ede36fbb2133f919bb8be8d0f8e2d7b47e9a22b Mon Sep 17 00:00:00 2001 From: rob Date: Sat, 25 Dec 2021 12:46:53 -0500 Subject: [PATCH] a couple touch-ups to post view --- app/views/post/view.pug | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/post/view.pug b/app/views/post/view.pug index 9257c2f..781d259 100644 --- a/app/views/post/view.pug +++ b/app/views/post/view.pug @@ -6,15 +6,13 @@ block content article(dtp-post-id= post._id) .uk-margin - div(uk-grid) - .uk-width-expand - h1.article-title= post.title + h1.article-title= post.title .uk-text-lead= post.summary .uk-margin .uk-article-meta div(uk-grid).uk-grid-small.uk-flex-top .uk-width-expand - div published: #{moment(post.created).format('MMM DD, YYYY - hh:mm a').toUpperCase()} + div #{moment(post.created).format('MMM DD, YYYY, hh:mm a')}, by #[a(href=`/user/${post.author._id}`)= post.author.displayName || post.author.username] if user && user.flags.isAdmin .uk-width-auto a(href=`/admin/post/${post._id}`)