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.
		
		
		
		
		
			
		
			
				
					
					
						
							29 lines
						
					
					
						
							926 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							926 B
						
					
					
				
								{{ if resources.Get .context.Params.featured.url }}
							 | 
						|
								<img class="{{ .class | default "fill-wh"}}"
							 | 
						|
									{{ with resources.Get .context.Params.featured.url }}
							 | 
						|
										srcset="
							 | 
						|
										  {{ (.Resize "420x q50").RelPermalink }} 420w,
							 | 
						|
									    {{ (.Resize "700x q65").RelPermalink }} 700w,
							 | 
						|
									    {{ (.Resize "1200x q65").RelPermalink }} 1200w"
							 | 
						|
									  sizes="(max-width: 400px) 420px,
							 | 
						|
									  (max-width: 1000px) 700px,
							 | 
						|
									  1200px"
							 | 
						|
									  src="{{ .RelPermalink }}"
							 | 
						|
									{{ end }}
							 | 
						|
									alt="{{ .context.Params.featured.alt }}"
							 | 
						|
								/>
							 | 
						|
								{{ else }}
							 | 
						|
								<img class="{{ .class | default "fill-wh"}}"
							 | 
						|
									{{ with .context.Resources.GetMatch .context.Params.featured.url }}
							 | 
						|
										srcset="
							 | 
						|
										  {{ (.Resize "420x q50").RelPermalink }} 420w,
							 | 
						|
									    {{ (.Resize "700x q65").RelPermalink }} 700w,
							 | 
						|
									    {{ (.Resize "1200x q65").RelPermalink }} 1200w"
							 | 
						|
									  sizes="(max-width: 400px) 420px,
							 | 
						|
									  (max-width: 1000px) 700px,
							 | 
						|
									  1200px"
							 | 
						|
									  src="{{ .RelPermalink }}"
							 | 
						|
									  alt="{{ .Params.alt }}"
							 | 
						|
									{{ end }}
							 | 
						|
								/>
							 | 
						|
								{{ end }}
							 | 
						|
								
							 |