From 47a2c2038d596ec1ef15454538ac2d42142a5d21 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sun, 7 Sep 2025 08:37:16 -0700 Subject: [PATCH] content: Update collections.D page to remove casting note See https://github.com/gohugoio/hugo/commit/b8eb45c9 --- content/en/functions/collections/D.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/content/en/functions/collections/D.md b/content/en/functions/collections/D.md index f864888f3..4bd004521 100644 --- a/content/en/functions/collections/D.md +++ b/content/en/functions/collections/D.md @@ -27,9 +27,6 @@ The example above generates the _same_ random numbers each time it is called. To {{ collections.D 2 7 42 }} → [3, 11, 19, 25, 32, 33, 38] ``` -> [!note] -> All arguments are cast to integers, so setting the seed to `3.14` is the same as setting it to `3`. - A common use case is the selection of random pages from a page collection. For example, to render a list of 5 random pages using the [day of the year][] as the seed value: ```go-html-template