少于1分钟
将以下英文翻译为中文:
https://gohugo.io/functions/append/
append
appends one or more values to a slice and returns the resulting slice.
COLLECTION | append VALUE [VALUE]...
COLLECTION | append COLLECTION
An example appending single values:
|
|
The same example appending a slice to a slice:
|
|
The append
function works for all types, including Pages
.