{{ page.title }}
Blog
{% for post in site.posts %}
-
{% for post in site.posts limit:1 %}
-
-
+ {% include post-meta.html %}
diff --git a/_includes/post-meta.html b/_includes/post-meta.html new file mode 100644 index 0000000..351811f --- /dev/null +++ b/_includes/post-meta.html @@ -0,0 +1,11 @@ +{% capture read_time %} + {{ post.content | number_of_words | divided_by: 180 }} +{% endcapture %} +
diff --git a/_layouts/post.html b/_layouts/post.html index 0f2d483..fed93b3 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,7 +4,17 @@