Truncate text on the search results view

This commit is contained in:
swaggboi 2023-11-16 17:06:09 -05:00
parent 7f637c14af
commit 7b6ed129c9

View File

@ -28,7 +28,7 @@
</h4>
<h5 class="post__author"><%= $result->{'post_author'} %></h5>
<div class="post__body">
<%== markdown $result->{'post_body'} =%>
<%== markdown truncate_text $result->{'post_body'} =%>
</div>
</article>
<% } =%>