Skip to content

Commit

Permalink
change truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
nutchanonj committed Oct 25, 2022
1 parent 43ca4ef commit 98f4f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h5 class="card-subtitle text-muted">
{%- assign date_format = "%b %-d, %Y" -%}
{{ post.date | date: date_format }}
</h5>
<p class="card-text mt-1">{%- if site.show_excerpts -%}{{ post.excerpt | strip_html | strip_newlines | truncate: 350 }}{%- endif -%}</p>
<p class="card-text mt-1">{%- if site.show_excerpts -%}{{ post.excerpt | strip_html | strip_newlines | truncate: 240 }}{%- endif -%}</p>
{% for tag in post.tags %}
<span class="badge badge-pill badge-primary">
{{ tag }}
Expand Down

0 comments on commit 98f4f9b

Please sign in to comment.