aboutsummaryrefslogtreecommitdiff
path: root/ui/pages/post/get.tmpl.html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/pages/post/get.tmpl.html')
-rw-r--r--ui/pages/post/get.tmpl.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/pages/post/get.tmpl.html b/ui/pages/post/get.tmpl.html
index 1489f36..f705f65 100644
--- a/ui/pages/post/get.tmpl.html
+++ b/ui/pages/post/get.tmpl.html
@@ -5,14 +5,14 @@
<span class="post-tags">{{.Tags}}</span>
<span class="post-domain">{{.UrlDomainName}}</span>
<span class="post-author">by <a href="u/{{.Username}}">{{.Username}}</a></span>
- <span class="post-date">{{.CreatedAt | relative}}</span>
+ <span class="post-date">{{.CreatedAt}}</span>
<span class="actions">
<span class="action-flag">Flag</span>
<span class="action-hide">Hide</span>
</span>
- {{ if .Description && !.Url }}
+ {{ if and .Description not .Url }}
<p>{{.Description}}</p>
- {{endif}}
+ {{end}}
<form action="/p/{{.ID}}/comment" method="POST">
<textarea placeholder="This better be good." name="comment"></textarea>
<button type="submit">Yup</button>