mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-17 08:25:53 +00:00
parameter backgroundImageWidth default function usage
This commit is contained in:
1 parent
eebadb405f
commit
b772b5ed97
4 files changed
+5
-5
No files matched your search
@@ -41,7 +41,7 @@
|
||||
style="background-image:url({{ .RelPermalink }});">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ with .Resize (print (default "1200" $.Site.Params.backgroundImageWidth) "x") }}
|
||||
{{ 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 }}
|
||||
|
||||
Reference in new issue
Block a user