mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 16:58:53 +00:00
Use consistent signatures
This commit is contained in:
@@ -10,8 +10,8 @@ action:
|
||||
- functions/collections/Slice
|
||||
returnType: any
|
||||
signatures:
|
||||
- COLLECTION | collections.Append ELEMENT [ELEMENT...]
|
||||
- COLLECTION | collections.Append COLLECTION
|
||||
- collections.Append ELEMENT [ELEMENT...] COLLECTION
|
||||
- collections.Append COLLECTION1 COLLECTION2
|
||||
aliases: [/functions/append]
|
||||
---
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ action:
|
||||
- functions/collections/IsSet
|
||||
- functions/collections/Where
|
||||
returnType: any
|
||||
signatures: [PAGES | collections.Group KEY]
|
||||
signatures: [collections.Group KEY PAGES]
|
||||
aliases: [/functions/group]
|
||||
---
|
||||
|
||||
|
||||
@@ -10,7 +10,9 @@ action:
|
||||
- methods/page/Ref
|
||||
- methods/page/RelRef
|
||||
returnType: string
|
||||
signatures: [urls.Ref PAGE PATH/OPTIONS]
|
||||
signatures:
|
||||
- urls.Ref PAGE PATH
|
||||
- urls.Ref PAGE OPTIONS
|
||||
aliases: [/functions/ref]
|
||||
---
|
||||
|
||||
|
||||
@@ -10,7 +10,9 @@ action:
|
||||
- methods/page/Ref
|
||||
- methods/page/RelRef
|
||||
returnType: string
|
||||
signatures: [urls.RelRef PAGE PATH/OPTIONS]
|
||||
signatures:
|
||||
- urls.RelRef PAGE PATH
|
||||
- urls.RelRef PAGE OPTIONS
|
||||
aliases: [/functions/relref]
|
||||
---
|
||||
|
||||
|
||||
@@ -8,7 +8,9 @@ action:
|
||||
- methods/page/HeadingsFiltered
|
||||
- functions/collections/KeyVals
|
||||
returnType: page.Pages
|
||||
signatures: [PAGES.Related PAGE/OPTIONS]
|
||||
signatures:
|
||||
- PAGES.Related PAGE
|
||||
- PAGES.Related OPTIONS
|
||||
---
|
||||
|
||||
Based on front matter, Hugo uses several factors to identify content related to the given page. Use the default [related content configuration], or tune the results to the desired indices and parameters. See [details].
|
||||
|
||||
Reference in New Issue
Block a user