mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'
This commit is contained in:
@@ -27,8 +27,8 @@ Use this function to:
|
||||
- Create unique warnings as shown above; the [`warnf`] function suppresses duplicate messages
|
||||
- Create unique target paths for the `resources.FromString` function where the target path is also the cache key
|
||||
|
||||
[`warnf`]: /functions/fmt/warnf
|
||||
[`resources.FromString`]: /functions/resources/fromstring
|
||||
[`warnf`]: /functions/fmt/warnf/
|
||||
[`resources.FromString`]: /functions/resources/fromstring/
|
||||
|
||||
{{% note %}}
|
||||
Due to concurrency, the value returned in a given template for a given page will vary from one build to the next. You cannot use this function to assign a static id to each page.
|
||||
|
Reference in New Issue
Block a user