Skip to content

Commit 6ac6b5b

Browse files
committed
Remove excerpt truncation in JavaScript - show full descriptions
1 parent 2c9c8e6 commit 6ac6b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/posts-filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class PostsFilter {
170170

171171
createPostCard(post) {
172172
const date = new Date(post.date).toLocaleDateString('ru-RU');
173-
const excerpt = post.excerpt ? this.truncateText(post.excerpt, 350) : '';
173+
const excerpt = post.excerpt || '';
174174

175175
const tagsHtml = post.tags && post.tags.length > 0
176176
? `<div class="post-tags">

0 commit comments

Comments
 (0)