File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
project_styleguide/templates/patterns/molecules/streamfield/blocks Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ def get_button_link(self):
221221 # Ensure page exists and is live.
222222 if block .value and block .value .live :
223223 return block .value .url
224- elif block_type == "external_link" or block_type == "modal_iframe" :
224+ elif block_type == "external_link" or block_type == "modal_iframe" :
225225 return block .value
226226 elif block_type == "email" :
227227 return f"mailto:{ block .value } "
Original file line number Diff line number Diff line change 1818 {% if value.get_button_link_block.block_type == "document_link" %}
1919 ({{ value.get_button_file_size|filesizeformat }})
2020 {% endif %}
21- {% if value.sticky_subtext %}
22- < br >
23- {{ value.sticky_subtext }}
24- {% endif %}
21+ {% if value.sticky_subtext %}
22+ < br >
23+ {{ value.sticky_subtext }}
24+ {% endif %}
2525 </ a >
2626 {% endif %}
2727 </ div >
Original file line number Diff line number Diff line change 22 value :
33 sticky_text : Get in touch
44 sticky_subtext : learn about our journey
5- sticky_link :
6- - modal_iframe :
7- url : ' https://example.com'
5+ button_link :
6+ - modal_iframe :
7+ url : ' https://example.com'
You can’t perform that action at this time.
0 commit comments