5 changed files with 15 additions and 4 deletions
			
			
		@ -0,0 +1,10 @@ | 
				
			|||||
 | 
					<img class="{{ .class | default "fill-wh"}}" | 
				
			||||
 | 
						{{ with resources.Get .context.url }} | 
				
			||||
 | 
							srcset=" | 
				
			||||
 | 
							  {{ (.Resize "320x q30").RelPermalink }} 320w, | 
				
			||||
 | 
						    {{ (.Resize "600x q40").RelPermalink }} 600w, | 
				
			||||
 | 
						    {{ (.Resize "1200x q65").RelPermalink }} 2x" | 
				
			||||
 | 
						  src="{{ .RelPermalink }}" | 
				
			||||
 | 
						{{ end }} | 
				
			||||
 | 
					  alt="{{ .context.alt }}" | 
				
			||||
 | 
					/> | 
				
			||||
					Loading…
					
					
				
		Reference in new issue