Remove the trick to keep image "responsive"
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
		
	
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			It makes other things completely ugly
This commit is contained in:
		
					parent
					
						
							
								b5ba9d72a5
							
						
					
				
			
			
				commit
				
					
						a1ccc4bb2e
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -2,7 +2,7 @@ | ||||||
| {{ if $featured_image }} | {{ if $featured_image }} | ||||||
|   {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} |   {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} | ||||||
|   {{ $featured_image := (trim $featured_image "/") | absURL }} |   {{ $featured_image := (trim $featured_image "/") | absURL }} | ||||||
|   <header class="cover bg-top responsive-header" style="background-image: url('{{ $featured_image }}');"> |   <header class="cover bg-top" style="background-image: url('{{ $featured_image }}');"> | ||||||
|     <div class="pb3-m pb6-l {{ .Site.Params.cover_dimming_class | default "bg-black-10" }}"> |     <div class="pb3-m pb6-l {{ .Site.Params.cover_dimming_class | default "bg-black-10" }}"> | ||||||
|       {{ partial "site-navigation.html" . }} |       {{ partial "site-navigation.html" . }} | ||||||
|       <div class="tc-l pv6 ph3 ph4-ns"> |       <div class="tc-l pv6 ph3 ph4-ns"> | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| {{ if $featured_image }} | {{ if $featured_image }} | ||||||
|   {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} |   {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} | ||||||
|   {{ $featured_image := (trim $featured_image "/") | absURL }} |   {{ $featured_image := (trim $featured_image "/") | absURL }} | ||||||
|   <header class="cover bg-top responsive-header" style="background-image: url('{{ $featured_image }}');"> |   <header class="cover bg-top" style="background-image: url('{{ $featured_image }}');"> | ||||||
|     <div class="{{ .Site.Params.cover_dimming_class | default "bg-black-10" }}"> |     <div class="{{ .Site.Params.cover_dimming_class | default "bg-black-10" }}"> | ||||||
|       {{ partial "site-navigation.html" .}} |       {{ partial "site-navigation.html" .}} | ||||||
|       <div class="tc-l pv4 pv6-l ph3 ph4-ns"> |       <div class="tc-l pv4 pv6-l ph3 ph4-ns"> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue