Skip to content

Commit 53107bc

Browse files
committed
website: on homepage, show an up-to-date, rounded number of checks
This is the same as the "X+ checks" text in the documentation.
1 parent bda615d commit 53107bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

website/content/_index.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ don't have time.
4444

4545

4646
{{% blocks/feature title="Exhaustiveness" icon="fas fa-tasks" url="/docs/checks" %}}
47-
More than 100 checks ensure that your code is in tip-top shape.
47+
More than
48+
{{< numchecks.inline >}}
49+
{{- $c := len $.Site.Data.checks.Checks -}}
50+
{{- sub $c (mod $c 25) -}}
51+
{{< /numchecks.inline >}}
52+
checks ensure that your code is in tip-top shape.
4853
{{% /blocks/feature %}}
4954

5055

0 commit comments

Comments
 (0)