1 changed files with 7 additions and 1 deletions
			
			
		@ -1 +1,7 @@ | 
				
			|||||
<h3>example image</h3> | 
					{{ $image := .Page.Resources.GetMatch (.Get "src") }} | 
				
			||||
 | 
					{{ partial "image.html" | 
				
			||||
 | 
					   (dict | 
				
			||||
 | 
					   "image" $image | 
				
			||||
 | 
					   "alt" (.Get "alt") | 
				
			||||
 | 
					   "sizes" (slice 320 480 600) | 
				
			||||
 | 
					   "classes" (slice "fill-wh")) }} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue