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 }}
<p>
Reading Time:
{{ math.Floor (div $readTime 60) }} minutes
and {{ mod $readTime 60 }} seconds.
{{ math.Ceil (div $readTime 60) }} minutes.
</p>
{{ end }}
<!-- tags -->