From 92b3bff53d566fb731053c86c3306992f8b31387 Mon Sep 17 00:00:00 2001 From: taco Date: Tue, 25 Jun 2024 20:44:12 -0400 Subject: [PATCH] feat: add reading time to post itself --- themes/corazon/layouts/posts/single.html | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/corazon/layouts/posts/single.html b/themes/corazon/layouts/posts/single.html index 2f34916..a896ef4 100644 --- a/themes/corazon/layouts/posts/single.html +++ b/themes/corazon/layouts/posts/single.html @@ -6,6 +6,7 @@ {{ $lastUpdated := .Lastmod.Format "January 2, 2006" }} {{ $lastMachine := .Lastmod.Format "2006-01-02T15:04:05-07:00" }}
+

reading time: {{ lower .ReadingTime }} mins

first posted:

{{ if ne $lastUpdated $dateHuman }}

last updated: