diff --git a/templates/_includes/article.html b/templates/_includes/article.html index 8304f97..c9370f0 100644 --- a/templates/_includes/article.html +++ b/templates/_includes/article.html @@ -7,7 +7,10 @@

{% else %}

{{ article.title|striptags }}

{% endif %} -

{% include '_includes/article_time.html' %}

+

+ {% include '_includes/article_time.html' %} + – 🕓 {% include '_includes/article_stats.html' %} +

{% if index %} diff --git a/templates/_includes/article_stats.html b/templates/_includes/article_stats.html new file mode 100644 index 0000000..e71b7e9 --- /dev/null +++ b/templates/_includes/article_stats.html @@ -0,0 +1 @@ ++{{ article.stats['read_mins'] }} min read diff --git a/templates/archives.html b/templates/archives.html index 99dc5a4..9261795 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -24,6 +24,7 @@

{{ article.title }}

{{ article.category }} {{ tag }} + – 🕓 {% include '_includes/article_stats.html' %} {% endfor %}