diff --git a/_includes/block_icon_cards.html b/_includes/block_icon_cards.html index 8202b31..2818cf7 100644 --- a/_includes/block_icon_cards.html +++ b/_includes/block_icon_cards.html @@ -31,13 +31,22 @@
{{ item.paragraph }}
+ {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ item.button_lable }} + {% endif %}{{ item.paragraph }}
- {{ item.button_lable }} + {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ item.button_lable }} + {% endif %}{{ include.paragraph }}
- {{ include.button_lable }} + {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ include.button_lable }} + {% endif %}{{ include.paragraph }}
- {{ include.button_lable }} + {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ include.button_lable }} + {% endif %}{{ item.paragraph }}
- {{ item.button_lable }} + {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ item.button_lable }} + {% endif %} {% endfor %} diff --git a/_includes/block_text_image.html b/_includes/block_text_image.html index 01c2771..067ab47 100644 --- a/_includes/block_text_image.html +++ b/_includes/block_text_image.html @@ -12,7 +12,14 @@{{ include.paragraph }}
- {{ include.button_lable }} + {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ include.button_lable }} + {% endif %}{{ include.paragraph }}
- {{ include.button_lable }} + {% if item.button_style == 'link' %} + {% assign buttonClassName = "" %} + {% else %} + {% assign buttonClassName = "button" %} + {% endif %} + {% if item.button_url && item.button_lable %} + {{ include.button_lable }} + {% endif %}