mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 07:45:00 +00:00
Truncate based on character count
This commit is contained in:
parent
3358a89abe
commit
b1b9937668
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ layout: default
|
|||
News
|
||||
</span>
|
||||
{% for post in site.posts limit:1 %}
|
||||
{{ post.content | strip_html | truncatewords: 8 }}
|
||||
{{ post.content | strip_html | truncate: 45 }}
|
||||
{% endfor %}
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Reference in a new issue