Blocks
If Base is the foundation of a template, Blocks are the building-blocks to build up your template. It's individual modules you can have infinite of.
Creating a Block


Naming the Block

Thumbnail


Block position logic

Last updated
{{ self.before_block }}
{{ self.block }}
{{ self.after_block }}{% assign is_after_spacer = self.before_block == "spacer" %}
{% assign is_before_spacer = self.after_block == "spacer" %}
{% if is_after_spacer %}
border-top-left-radius: 50px;
border-top-right-radius: 50px;
{% endif %}
{% if is_before_spacer %}
border-bottom-left-radius: 50px;
border-bottom-right-radius: 50px;
{% endif %}{% assign is_last_block = self.after_block == blank %}
{% if is_last_block %}
Background-color:#3a3b38;
color: #ffffff;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
{% endif %}