extends site.pug block content form(action=`/journal/${entry.id}/edit`, method="post") h1(style="display:flex;align-items:center;gap:1em;") | #{entry.title} if isSelf || isMod div(style="display:flex;") if isSelf button(name="action", value="edit") edit button(name="action", value="delete") delete span | by a(href=`/users/${entry.uname}`)= entry.uname | span(title=entry.date.toLocaleString()) #{entryTimestamp} br br div | Mood: strong= entry.moodString br div!= entry.content