mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-09 15:56:37 -04:00
Fix signatures
This commit is contained in:
parent
7551ba28f7
commit
d47d889e40
@ -12,7 +12,9 @@ relatedFuncs:
|
||||
- urls.AbsURL
|
||||
- urls.RelLangURL
|
||||
- urls.RelURL
|
||||
signature: [absLangURL INPUT]
|
||||
signature:
|
||||
- urls.AbsLangURL INPUT
|
||||
- absLangURL INPUT
|
||||
---
|
||||
|
||||
Use this function with both monolingual and multilingual configurations. The URL returned by this function depends on:
|
||||
|
@ -12,7 +12,9 @@ relatedFuncs:
|
||||
- urls.AbsURL
|
||||
- urls.RelLangURL
|
||||
- urls.RelURL
|
||||
signature: [absURL INPUT]
|
||||
signature:
|
||||
- urls.AbsURL INPUT
|
||||
- absURL INPUT
|
||||
---
|
||||
|
||||
With multilingual configurations, use the [`absLangURL`] function instead. The URL returned by this function depends on:
|
||||
|
@ -11,7 +11,9 @@ relatedFuncs:
|
||||
- collections.After
|
||||
- collections.First
|
||||
- collections.Last
|
||||
signature: [after INDEX COLLECTION]
|
||||
signature:
|
||||
- collections.After INDEX COLLECTION
|
||||
- after INDEX COLLECTION
|
||||
---
|
||||
|
||||
The following shows `after` being used in conjunction with the [`slice` function][slice]:
|
||||
|
@ -11,7 +11,9 @@ relatedFuncs:
|
||||
- collections.After
|
||||
- collections.First
|
||||
- collections.Last
|
||||
signature: [first LIMIT COLLECTION]
|
||||
signature:
|
||||
- collections.First LIMIT COLLECTION
|
||||
- first LIMIT COLLECTION
|
||||
---
|
||||
|
||||
`first` works in a similar manner to the [`limit` keyword in
|
||||
|
@ -11,7 +11,9 @@ relatedFuncs:
|
||||
- collections.After
|
||||
- collections.First
|
||||
- collections.Last
|
||||
signature: [last INDEX COLLECTION]
|
||||
signature:
|
||||
- collections.Last INDEX COLLECTION
|
||||
- last INDEX COLLECTION
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
|
@ -12,7 +12,9 @@ relatedFuncs:
|
||||
- urls.AbsURL
|
||||
- urls.RelLangURL
|
||||
- urls.RelURL
|
||||
signature: [relLangURL INPUT]
|
||||
signature:
|
||||
- urls.RelLangURL INPUT
|
||||
- relLangURL INPUT
|
||||
---
|
||||
|
||||
Use this function with both monolingual and multilingual configurations. The URL returned by this function depends on:
|
||||
|
@ -12,7 +12,9 @@ relatedFuncs:
|
||||
- urls.AbsURL
|
||||
- urls.RelLangURL
|
||||
- urls.RelURL
|
||||
signature: [relURL INPUT]
|
||||
signature:
|
||||
- urls.RelURL INPUT
|
||||
- relURL INPUT
|
||||
---
|
||||
|
||||
With multilingual configurations, use the [`relLangURL`] function instead. The URL returned by this function depends on:
|
||||
|
Loading…
x
Reference in New Issue
Block a user