diff options
Diffstat (limited to 'themes/blowfish/layouts/partials/hero/background.html')
-rw-r--r-- | themes/blowfish/layouts/partials/hero/background.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/blowfish/layouts/partials/hero/background.html b/themes/blowfish/layouts/partials/hero/background.html index 1f6e3fb..6679950 100644 --- a/themes/blowfish/layouts/partials/hero/background.html +++ b/themes/blowfish/layouts/partials/hero/background.html @@ -41,7 +41,7 @@ style="background-image:url({{ .RelPermalink }});"> {{ end }} {{ else }} - {{ with .Resize "1200x" }} + {{ with .Resize (print ($.Site.Params.backgroundImageWidth | default "1200") "x") }} <div class="fixed inset-x-0 top-0 h-[800px] single_hero_background nozoom" style="background-image:url({{ .RelPermalink }});"> {{ end }} |