1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Whitespace fix

This commit is contained in:
Rohan Kumar 2022-06-04 16:43:18 -07:00
parent 29371ed1f8
commit 0029dad183
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -14,6 +14,6 @@ About
{{- $minutes := mod . 60 -}} {{- $minutes := mod . 60 -}}
{{- $displayTime = (printf "%d hour and %d" $hours $minutes) | safeHTML -}} {{- $displayTime = (printf "%d hour and %d" $hours $minutes) | safeHTML -}}
{{- end -}} {{- 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 -}} ; 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 -}}
<time itemprop="timeRequired" datetime="PT{{ . }}M">{{ $displayTime }}&#160;minute</time> read <time itemprop="timeRequired" datetime="PT{{ . }}M">{{ $displayTime }}&#160;minute</time> read
{{- end -}} {{- end -}}