From d18ad46f38a50f1d433c3e76890a4916702418cd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 29 Apr 2020 12:47:20 +0100 Subject: [PATCH] Revert "Remove reading time" This reverts commit ff1f7b46fe6d942efc21eef1418436aba26d462c. --- layouts/partials/content-details.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/partials/content-details.html b/layouts/partials/content-details.html index a368301..47a7066 100644 --- a/layouts/partials/content-details.html +++ b/layouts/partials/content-details.html @@ -2,6 +2,12 @@ {{ .Date.Format "2006-01-02" }} {{ end }} +{{ if not .Parent.IsHome }} + {{ if gt .ReadingTime 2 }} + {{ .ReadingTime }} minutes + {{ end }} +{{ end }} + {{ if .Params.tags }} {{ range $i, $e := .Params.tags }}