From 226192ebc79821c202a360fa8b24ba77199fe87b Mon Sep 17 00:00:00 2001 From: mms Date: Sat, 21 Dec 2024 21:15:14 +0100 Subject: feat(blog): license plate --- layouts/partials/reviews/metrics.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/reviews/metrics.html') diff --git a/layouts/partials/reviews/metrics.html b/layouts/partials/reviews/metrics.html index 08c9c9a..87ade71 100644 --- a/layouts/partials/reviews/metrics.html +++ b/layouts/partials/reviews/metrics.html @@ -21,7 +21,7 @@ My rating:
{{- range $i, $sequence := (seq 15) }} - {{- if le (mul $sequence 25) (mul (sub $rating 1) 100)}}◾{{- else}}◽{{- end }} + {{- if le (mul $sequence 25) (mul (sub $rating 1) 100)}}█{{- else}}░{{- end }} {{- end }}
{{ $rating }}/5 -- cgit v1.2.3