Skip to content

Commit

Permalink
Fix signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Sep 29, 2023
1 parent 7551ba2 commit d47d889
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
4 changes: 3 additions & 1 deletion content/en/functions/abslangurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion content/en/functions/absurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion content/en/functions/after.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down
4 changes: 3 additions & 1 deletion content/en/functions/first.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion content/en/functions/last.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion content/en/functions/relLangURL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion content/en/functions/relurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d47d889

Please sign in to comment.