add truncate title
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<a href="{{ post.url }}">
|
<a href="{{ post.url }}">
|
||||||
<div class="news-hero-compact">
|
<div class="news-hero-compact">
|
||||||
<div class="news-hero-compact-text">
|
<div class="news-hero-compact-text">
|
||||||
<p style="margin-bottom: 0rem;">{{ post.title | safe }}</p>
|
<p style="margin-bottom: 0rem;">{{ post.title | safe | truncatechars:60 }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="news-hero-compact-right">
|
<div class="news-hero-compact-right">
|
||||||
|
|||||||
Reference in New Issue
Block a user