Truncate text on the search results view
This commit is contained in:
parent
7f637c14af
commit
7b6ed129c9
|
@ -28,7 +28,7 @@
|
||||||
</h4>
|
</h4>
|
||||||
<h5 class="post__author"><%= $result->{'post_author'} %></h5>
|
<h5 class="post__author"><%= $result->{'post_author'} %></h5>
|
||||||
<div class="post__body">
|
<div class="post__body">
|
||||||
<%== markdown $result->{'post_body'} =%>
|
<%== markdown truncate_text $result->{'post_body'} =%>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<% } =%>
|
<% } =%>
|
||||||
|
|
Loading…
Reference in a new issue