From 64f5585c4de2a20f05eb5e6d1081a0daa967aa68 Mon Sep 17 00:00:00 2001 From: Ahmad Helaly <58439278+escalopa@users.noreply.github.com> Date: Fri, 21 Oct 2022 19:38:07 +0300 Subject: [PATCH] change frontmatter disableReadingTime to readingTime --- layouts/partials/article/components/details.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html index 8e61875..eed3aef 100644 --- a/layouts/partials/article/components/details.html +++ b/layouts/partials/article/components/details.html @@ -34,7 +34,7 @@ {{ end }} - {{ if and (not (.Params.DisableReadTime | default false)) (.Site.Params.article.readingTime)}} + {{ if (.Params.readingTime | default (.Site.Params.article.readingTime)) }}