Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created April 6, 2014 16:51
Show Gist options
  • Select an option

  • Save objectivehtml/10008593 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/10008593 to your computer and use it in GitHub Desktop.
{% if block.related | length %}
{% set block = block.related.first().components.type('parameters').first() %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment