mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
content: Fix collections.D seed example
This commit is contained in:
@@ -49,7 +49,7 @@ Choosing an appropriate seed value depends on your objective.
|
||||
Objective|Seed example
|
||||
:--|:--
|
||||
Consistent result|`42`
|
||||
Different result on each call|`time.Now.UnixNano`
|
||||
Different result on each call|`int time.Now.UnixNano`
|
||||
Same result per day|`time.Now.YearDay`
|
||||
Same result per page|`hash.FNV32a .Path`
|
||||
Different result per page per day|`hash.FNV32a (print .Path time.Now.YearDay)`
|
||||
|
||||
Reference in New Issue
Block a user