Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% case count %}
- {% when 1 %}
- {% assign columnWidth = "large--one-whole medium-down--one-whole" %}
- {% when 5 %}
- {% capture columnWidth %}
- {% cycle
- "large--two-thirds medium--two-thirds small--one-whole",
- "large--one-third medium--one-third small--one-whole",
- "",
- "large--one-third medium--one-third small--one-whole",
- "large--one-third medium--one-third small--one-whole" %}
- {% endcapture %}
- {% else %}
- {% assign columnWidth = "large--one-third medium--one-third small--one-whole" %}
- {% endcase %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement