From d47d889e40ddfa5ab5fc29ec30342c9af79c2d2b Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 29 Sep 2023 11:08:04 -0700 Subject: [PATCH] Fix signatures --- content/en/functions/abslangurl.md | 4 +++- content/en/functions/absurl.md | 4 +++- content/en/functions/after.md | 4 +++- content/en/functions/first.md | 4 +++- content/en/functions/last.md | 4 +++- content/en/functions/relLangURL.md | 4 +++- content/en/functions/relurl.md | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/content/en/functions/abslangurl.md b/content/en/functions/abslangurl.md index bc60050b0e..d2d129c76f 100644 --- a/content/en/functions/abslangurl.md +++ b/content/en/functions/abslangurl.md @@ -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: diff --git a/content/en/functions/absurl.md b/content/en/functions/absurl.md index 089dd5c2f0..cac1a8e77f 100644 --- a/content/en/functions/absurl.md +++ b/content/en/functions/absurl.md @@ -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: diff --git a/content/en/functions/after.md b/content/en/functions/after.md index 3bf293a03d..f121ca302d 100644 --- a/content/en/functions/after.md +++ b/content/en/functions/after.md @@ -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]: diff --git a/content/en/functions/first.md b/content/en/functions/first.md index 8ab08dafaa..f906da9624 100644 --- a/content/en/functions/first.md +++ b/content/en/functions/first.md @@ -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 diff --git a/content/en/functions/last.md b/content/en/functions/last.md index c646c32c22..1cf7f21b5c 100644 --- a/content/en/functions/last.md +++ b/content/en/functions/last.md @@ -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 diff --git a/content/en/functions/relLangURL.md b/content/en/functions/relLangURL.md index 8eaf47dd46..6d0a377476 100644 --- a/content/en/functions/relLangURL.md +++ b/content/en/functions/relLangURL.md @@ -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: diff --git a/content/en/functions/relurl.md b/content/en/functions/relurl.md index d39c685bb3..ea3e511417 100644 --- a/content/en/functions/relurl.md +++ b/content/en/functions/relurl.md @@ -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: