Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JacobLett/da67bf0351c9f51d950f70ba12f7defe to your computer and use it in GitHub Desktop.
Save JacobLett/da67bf0351c9f51d950f70ba12f7defe to your computer and use it in GitHub Desktop.
hubspot export to template- hubspot cms
<!--
no_wrapper=True, export_to_template_context=True
-->
{% image_src "image_src" src='//cdn2.hubspot.net/hub/53/file-733888614-jpg/assets/hubspot.com/about/management/dharmesh-home.jpg', no_wrapper=True, export_to_template_context=True %}
<br>
{% if widget_data.image_src.src %}
image_src
{% endif %}
<br>
{% image "executive_image" label='Executive photo', alt='Photo of Brian Halligan', src='//cdn2.hubspot.net/hub/53/file-733888619-jpg/assets/hubspot.com/about/management/brian-home.jpg', width='300', export_to_template_context=True %}
<br>
{% if widget_data.executive_image.src %}
image_src
{% endif %}
<br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment