diff options
Diffstat (limited to 'themes/blowfish/layouts/partials/hero/basic.html')
-rw-r--r-- | themes/blowfish/layouts/partials/hero/basic.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/blowfish/layouts/partials/hero/basic.html b/themes/blowfish/layouts/partials/hero/basic.html index 4d01bb2..f192800 100644 --- a/themes/blowfish/layouts/partials/hero/basic.html +++ b/themes/blowfish/layouts/partials/hero/basic.html @@ -26,7 +26,7 @@ <div class="w-full h-36 md:h-56 lg:h-72 single_hero_basic nozoom" style="background-image:url({{ .RelPermalink }});"></div> {{ end }} {{ else }} - {{ with .Resize "1200x" }} + {{ with .Resize (print ($.Site.Params.backgroundImageWidth | default "1200") "x") }} <div class="w-full h-36 md:h-56 lg:h-72 single_hero_basic nozoom" style="background-image:url({{ .RelPermalink }});"></div> {{ end }} {{ end }} |