From 2363157807dec4519a9d227b9951814429cf3691 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Thu, 16 Jul 2020 19:25:52 +0800 Subject: feat: add reading time and icons --- _includes/views/post-header.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '_includes/views/post-header.html') diff --git a/_includes/views/post-header.html b/_includes/views/post-header.html index d109597..c82bea3 100644 --- a/_includes/views/post-header.html +++ b/_includes/views/post-header.html @@ -5,8 +5,13 @@

+ + {% assign article = page.content %} + {%- include functions.html func='get_reading_time' -%} + {% assign reading_time = return %} + {{ reading_time }}

{%- if page.tags.size > 0 -%} -- cgit v1.2.3