diff --git a/_includes/blog-card.html b/_includes/blog-card.html index b7b9e4860..638b59d4d 100644 --- a/_includes/blog-card.html +++ b/_includes/blog-card.html @@ -1,14 +1,14 @@
-
+
- +
-

{{post.title}}

+

{{ include.post.title }}

- {{ post.content | truncate: 300 | strip_html | strip_newlines | strip | escape }} + {{ include.post.content | truncate: 300 | strip_html | strip_newlines | strip | escape }}
- Published on {{ post.date | date: "%-B %d, %Y" }} | {% assign words = post.content | number_of_words %}{%- unless content.size == 0 -%}{{ words | divided_by:180 }} min{% endunless %} read + Published on {{ include.post.date | date: "%B %d, %Y" }} | {% assign words = include.post.content | number_of_words %}{% unless include.post.content.size == 0 %}{{ words | divided_by:180 | ceil }} min{% endunless %} read