Remove the trick to keep image "responsive"
All checks were successful
continuous-integration/drone/push Build is passing

It makes other things completely ugly
This commit is contained in:
Luca Beltrame 2021-01-09 15:16:21 +01:00
parent b5ba9d72a5
commit a1ccc4bb2e
Signed by: einar
GPG key ID: 4707F46E9EC72DEC
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{{ if $featured_image }}
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
{{ $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" }}">
{{ partial "site-navigation.html" . }}
<div class="tc-l pv6 ph3 ph4-ns">

View file

@ -2,7 +2,7 @@
{{ if $featured_image }}
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
{{ $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" }}">
{{ partial "site-navigation.html" .}}
<div class="tc-l pv4 pv6-l ph3 ph4-ns">