mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-21 23:01:52 +02:00
Update background.html to tolerate svgs
This commit is contained in:
parent
adc33f4e6d
commit
6bbd1306a8
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
{{ if $shouldAddHeaderSpace | default true}}
|
{{ if $shouldAddHeaderSpace | default true}}
|
||||||
<div id="hero" class="h-[150px] md:h-[200px]"></div>
|
<div id="hero" class="h-[150px] md:h-[200px]"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $disableImageOptimization }}
|
{{ if or (eq .MediaType.SubType "svg" ) ($disableImageOptimization) }}
|
||||||
{{ with . }}
|
{{ with . }}
|
||||||
<div class="fixed inset-x-0 top-0 h-[800px] single_hero_background nozoom"
|
<div class="fixed inset-x-0 top-0 h-[800px] single_hero_background nozoom"
|
||||||
style="background-image:url({{ .RelPermalink }});">
|
style="background-image:url({{ .RelPermalink }});">
|
||||||
|
|
Loading…
Add table
Reference in a new issue