Some template cleanup
This commit is contained in:
parent
1fbb526307
commit
1ef8f2e2e7
|
@ -23,10 +23,10 @@
|
||||||
</h3>
|
</h3>
|
||||||
<h4 class="post__date"><%= $thread->{'date'} %></h4>
|
<h4 class="post__date"><%= $thread->{'date'} %></h4>
|
||||||
<h5 class="post__author"><%= $thread->{'author'} %></h5>
|
<h5 class="post__author"><%= $thread->{'author'} %></h5>
|
||||||
<% if (299 < length $thread->{'body'}) { %>
|
<% if (299 < length $thread->{'body'}) { =%>
|
||||||
<details class="post__body">
|
<details class="post__body">
|
||||||
<summary>
|
<summary>
|
||||||
<%== truncate_text $thread->{'body'} =%>
|
<%== truncate_text $thread->{'body'} %>
|
||||||
</summary>
|
</summary>
|
||||||
<%== markdown $thread->{'body'} =%>
|
<%== markdown $thread->{'body'} =%>
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Reference in a new issue