From 8c8203efa0e0d5c8f6b47d99aea329de83e191ab Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 26 Sep 2023 14:26:10 -0700 Subject: [PATCH] Adjust related functions --- content/en/functions/append.md | 3 +-- content/en/functions/slice.md | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/functions/append.md b/content/en/functions/append.md index 6bbd9a6f6..913ff322d 100644 --- a/content/en/functions/append.md +++ b/content/en/functions/append.md @@ -10,6 +10,7 @@ namespace: collections relatedFuncs: - collections.Append - collections.Merge + - collections.Slice signature: - COLLECTION | collections.Append ELEMENT [ELEMENT]... - COLLECTION | collections.Append COLLECTION @@ -88,8 +89,6 @@ To create a slice of slices, starting with an empty slice: {{ $s }} → [[a b] [c d]] ``` - - Although the elements in the examples above are strings, you can use the `append` function with any data type, including Pages. For example, on the home page of a corporate site, to display links to the two most recent press releases followed by links to the four most recent articles: ```go-html-template diff --git a/content/en/functions/slice.md b/content/en/functions/slice.md index 12568b746..f8a05c57e 100644 --- a/content/en/functions/slice.md +++ b/content/en/functions/slice.md @@ -8,6 +8,7 @@ menu: keywords: [] namespace: collections relatedFuncs: + - collections.Append - collections.Apply - collections.Delimit - collections.In