feat: blocks v2: background.video.path -> background.video.filename

This commit is contained in:
George Cushen committed 2022-12-27 23:31:36 +00:00
1 parent 2c00b903e6
commit 943f2eb3ea
3 files changed
+9 -9

No files matched your search

@@ -31,12 +31,12 @@
{{ end }}
{{ $bg_video := "" }}
{{ if $bg.video.path }}
{{ $bg_video = resources.Get (printf "media/%s" $bg.video.path) }}
{{ end }}
{{ $bg_video_class := "" }}
{{ if $bg.video.flip }}
{{ $bg_video_class = "flip" }}
{{ if $bg.video.filename }}
{{ $bg_video = resources.Get (printf "media/%s" $bg.video.filename) }}
{{ if $bg.video.flip }}
{{ $bg_video_class = "flip" }}
{{ end }}
{{ end }}
{{ if $bg.image.filename }}
@@ -76,7 +76,7 @@
{{ $style = print $style $style_clip_path }}
{{ end }}
{{ with ($block.design.css_style | default $block.Params.advanced.css_style) }}
{{ with $block.design.css_style }}
{{ $style = print $style . }}
{{ end }}
@@ -84,7 +84,7 @@
{{ $hash_id := $block.id | default (printf "section-%s" (replace $block_type "." "-")) }}
{{ $widget_args := dict "wcPage" $page "wcBlock" $block "wcIdentifier" $hash_id }}
{{ $css_classes := $block.design.css_class | default $block.Params.advanced.css_class | default "" }}
{{ $css_classes := $block.design.css_class | default "" }}
{{ $extra_attributes := "" }}
{{ $use_container := true }}
{{ $columns := $block.design.columns | default "1" }}
+1 -1
View File
@@ -3,7 +3,7 @@
publish = "public"
[build.environment]
HUGO_VERSION = "0.107.0"
HUGO_VERSION = "0.108.0"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
+1 -1
View File
@@ -3,7 +3,7 @@
publish = "public"
[build.environment]
HUGO_VERSION = "0.97.3"
HUGO_VERSION = "0.108.0"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]