Created
July 11, 2017 09:36
-
-
Save keirwhitaker/77340100f0c0a376d008a60a6b2dbb5a to your computer and use it in GitHub Desktop.
Extract of promotions.liquid #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for block in section.blocks %} | |
{% if block.type == "promo-box" %} | |
<h3>{{ block.settings.title }}</h3> | |
<p>{{ block.settings.description }}</p> | |
{% elsif block.type == "promo-image" %} | |
<img src="{{ block.settings.promo-image | img_url: '800x' }}" /> | |
{% endif %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment