mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	
		
			
				
	
	
	
		
			591 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			591 B
		
	
	
	
	
	
	
	
title, description, categories, menu, keywords, signature, relatedfuncs
| title | description | categories | menu | keywords | signature | relatedfuncs | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| slice | Creates a slice (array) of all passed arguments. | 
 | 
 | 
 | 
 | 
One use case is the concatenation of elements in combination with the delimit function:
{{< code file="slice.html" >}} {{ $sliceOfStrings := slice "foo" "bar" "buzz" }}
{{ delimit ($sliceOfStrings) ", " }}
{{< /code >}}