Created
July 17, 2019 18:39
-
-
Save Chalkin/636157366d53e324df8172ef5a1f8ac9 to your computer and use it in GitHub Desktop.
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
{{ sections }} | |
... | |
{{ if type == 'extended_content' }} | |
<div class="section-empty"> | |
<div class="container content"> | |
{{ if type == "text" }} | |
<div class="text"> | |
{{ text }} | |
</div> | |
{{ elseif type == "image" }} | |
<figure> | |
<img src="{{ image }}" alt="{{ caption }}" /> | |
<figcaption>{{ caption }}</figcaption> | |
</figure> | |
{{ /if }} | |
</div> | |
</div> | |
... | |
{{ /if }} | |
{{ /sections }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have any other vars named
body
orcontent
that might be conflicting?