From 47e55b9aef45d38f6f555bdacb393328b1b08bb2 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Thu, 19 May 2022 13:30:03 -0700 Subject: [PATCH] Typo --- layouts/partials/wordcount.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/wordcount.html b/layouts/partials/wordcount.html index 11cf82d..75ccdb2 100644 --- a/layouts/partials/wordcount.html +++ b/layouts/partials/wordcount.html @@ -12,7 +12,7 @@ About {{- if gt . 60 -}} {{- $hours := div . 60 -}} {{- $minutes := mod . 60 -}} - {{- $displayTime = (printf "%d hour and %d minute" $hours $minutes) -}} + {{- $displayTime = (printf "%d hour and %d" $hours $minutes) -}} {{- end -}} ; a{{ if lt . 10 }} short{{ else if and (gt . 20) (lt . 30) }} somewhat long{{ else if and (gt . 29) (lt . 60) }} long{{ else if gt . 59 }} very long{{ end }} read