Last active
January 12, 2019 16:06
-
-
Save bryanpizzillo/064866aa67b619add4276013893b547e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| {# Render the value of field only if it exists. #} | |
| {% if not node.my_field.isEmpty() %} | |
| <div class="some-class"> | |
| {{ node.my_field.value }} | |
| </div> | |
| {% endif %} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment