Some template cleanup
This commit is contained in:
parent
1fbb526307
commit
1ef8f2e2e7
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue