Skip to content

Commit 1f0e4d2

Browse files
novoiolouistatta
authored andcommitted
Adjust truncate length of blog content in all News page
1 parent 105df79 commit 1f0e4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

news/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 class='header-shadow'>News</h2>
2929
<div class='flex-row'>
3030
<div class='news-text-wrapper'>
3131
<a class='news-title text-m' href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
32-
<p class='text-xxs'>{{ post.content | strip_html | truncatewords: 200 }}</p>
32+
<p class='text-xxs'>{{ post.content | strip_html | truncate: 500 }}</p>
3333
</div>
3434
{% if post.hero-image %}
3535
<img class='news-image' src="{{site.baseurl}}/images/posts/{{ post.hero-image}}">

0 commit comments

Comments
 (0)