truncate words
This commit is contained in:
parent
047ab717d3
commit
a4ecdf885f
|
@ -34,7 +34,7 @@
|
|||
{% for b in bbitems %}
|
||||
<td style="width:170px; height:130px; background-color:#f7bd00; color:#fff; padding:8px;">
|
||||
<p style="font-size:16px; text-align:center; text-transform:uppercase; font-family:'Century Gothic', Arial, Helvetica, sans-serif;">{{ b.title }}</p>
|
||||
<p style="font-size:14px;">{{ b.text|truncate:80 }}</p>
|
||||
<p style="font-size:14px;">{{ b.text|truncatewords:25 }}</p>
|
||||
<p><a href="" style="text-align:right; color:#fff; text-decoration:none; font-size:12px;">More »</a></p>
|
||||
</td>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user