summaryrefslogtreecommitdiff
path: root/src/http/tpl/post.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-10-12 23:43:31 +0200
committerBrian Picciano <mediocregopher@gmail.com>2022-10-12 23:43:31 +0200
commitd9570411134273d690e783748dd572696fc14c6f (patch)
treeca9d0780bdc2708e190a2194b751966546935e39 /src/http/tpl/post.html
parentd959985ed0d3509d1369c15bf0c87c35b47eb1db (diff)
Make description an optional field
Diffstat (limited to 'src/http/tpl/post.html')
-rw-r--r--src/http/tpl/post.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/tpl/post.html b/src/http/tpl/post.html
index 23500eb..f10ce94 100644
--- a/src/http/tpl/post.html
+++ b/src/http/tpl/post.html
@@ -4,9 +4,11 @@
{{ .Payload.Title }}
</h1>
+{{ if ne .Payload.Description "" }}
<p>
<em>- {{ .Payload.Description }}</em>
</p>
+{{ end }}
<hr/>