You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							38 lines
						
					
					
						
							805 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							38 lines
						
					
					
						
							805 B
						
					
					
				
								<img class="{{ .class }}"
							 | 
						|
									{{- with .image -}}
							 | 
						|
								
							 | 
						|
								        {{ $smallest := (.Resize "320x q60") }}
							 | 
						|
								
							 | 
						|
										srcset="
							 | 
						|
								    		{{- with $smallest -}}
							 | 
						|
								        		{{ printf "%s %dw," .RelPermalink .Width }}
							 | 
						|
								    		{{- end -}}
							 | 
						|
								
							 | 
						|
								    		{{- with (.Resize "480x q60") -}}
							 | 
						|
								        		{{ printf "%s %dw," .RelPermalink .Width }}
							 | 
						|
								    		{{- end -}}
							 | 
						|
								
							 | 
						|
								    		{{- with (.Resize "600x q70") -}}
							 | 
						|
								        		{{ printf "%s %dw," .RelPermalink .Width }}
							 | 
						|
								    		{{- end -}}
							 | 
						|
								
							 | 
						|
								    		{{- with (.Resize "800x q90") -}}
							 | 
						|
								        		{{ printf "%s %dw," .RelPermalink .Width }}
							 | 
						|
								    		{{- end -}}
							 | 
						|
								
							 | 
						|
										"
							 | 
						|
								
							 | 
						|
										sizes="
							 | 
						|
								    		(max-width: 480px) 320px;
							 | 
						|
								    		(max-width: 600px) 480px;
							 | 
						|
								    		(max-width: 800px) 600px;
							 | 
						|
								    		800px"
							 | 
						|
								
							 | 
						|
								    	src="
							 | 
						|
								    	{{- with $smallest -}}
							 | 
						|
								    		{{ .RelPermalink }}
							 | 
						|
								    	{{- end -}}"
							 | 
						|
								
							 | 
						|
								        alt="{{ .Params.alt }}"
							 | 
						|
									{{- end -}}
							 | 
						|
								>
							 | 
						|
								
							 |