Some template cleanup

This commit is contained in:
swagg boi 2023-12-10 01:05:48 -05:00
parent 1fbb526307
commit 1ef8f2e2e7

View file

@ -23,10 +23,10 @@
</h3>
<h4 class="post__date"><%= $thread->{'date'} %></h4>
<h5 class="post__author"><%= $thread->{'author'} %></h5>
<% if (299 < length $thread->{'body'}) { %>
<% if (299 < length $thread->{'body'}) { =%>
<details class="post__body">
<summary>
<%== truncate_text $thread->{'body'} =%>
<%== truncate_text $thread->{'body'} %>
</summary>
<%== markdown $thread->{'body'} =%>
</details>