From 3a8682e8eeede78bf30e0970bf4b67cd70f7155c Mon Sep 17 00:00:00 2001 From: Ian Andwati Date: Sat, 12 Aug 2023 23:58:38 +0300 Subject: [PATCH] feat: added reading time and word count --- templates/post_macros.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/post_macros.html b/templates/post_macros.html index 181d635..db4befc 100644 --- a/templates/post_macros.html +++ b/templates/post_macros.html @@ -8,6 +8,7 @@ {%- if page.taxonomies.tags | length > 1 and loop.index != page.taxonomies.tags | length -%},{% endif %} {% endfor %} {% endif %} +
☕{{ page.reading_time }} minutes 📝 {{ page.word_count }}
{% endmacro meta %} {% macro snippet(page) %}