Round up reading times

This commit is contained in:
Brandon Rozek 2022-05-05 21:32:07 -04:00
parent b2b05cc29e
commit ddaa281397

View file

@ -19,8 +19,7 @@
{{ if gt $readTime 60 }} {{ if gt $readTime 60 }}
<p> <p>
Reading Time: Reading Time:
{{ math.Floor (div $readTime 60) }} minutes {{ math.Ceil (div $readTime 60) }} minutes.
and {{ mod $readTime 60 }} seconds.
</p> </p>
{{ end }} {{ end }}
<!-- tags --> <!-- tags -->