From b863371eb9551d656cac07864a049c848d3e0253 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 28 Apr 2019 15:25:26 +0100 Subject: [PATCH] Add reading time --- layouts/partials/content-details.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/partials/content-details.html b/layouts/partials/content-details.html index 4124861..32c89c3 100644 --- a/layouts/partials/content-details.html +++ b/layouts/partials/content-details.html @@ -1,5 +1,9 @@ {{ if not .Date.IsZero }} - {{ .Date.Format "2006-01-02" }} + {{ .Date.Format "2006-01-02" }} +{{ end }} + +{{ if .ReadingTime }} + {{ .ReadingTime }} minutes {{ end }} {{ if .Params.tags }}