diff --git a/sections/image-with-text.liquid b/sections/image-with-text.liquid index 0a24e48..dafc16c 100644 --- a/sections/image-with-text.liquid +++ b/sections/image-with-text.liquid @@ -24,6 +24,24 @@ endif -%} +{% liquid + assign button_link = "" + + for block in section.blocks + case block.type + when 'button' + if block.settings.button_link != blank + assign button_link = block.settings.button_link + endif + endcase + endfor +%} + + + +