diff --git a/_includes/views/pagination.html b/_includes/views/pagination.html index c1814e3..15c6b23 100644 --- a/_includes/views/pagination.html +++ b/_includes/views/pagination.html @@ -16,6 +16,8 @@ {% assign lang = post.lang %} {%- include functions.html func='get_reading_time' -%} {% assign reading_time = return %} + {%- include functions.html func='get_article_excerpt' -%} + {% assign excerpt = return %}

{%- assign post_url = post.url | relative_url -%} @@ -28,7 +30,7 @@ {{ reading_time }}

- {{ post.content | strip_html | truncatewords: 50 }} + {{ excerpt }}

{%- for tag in post.tags -%}