{{ Code }}

Contains code - which may be any of CSS, Javascript, Liquid Markup, JSON objects, or any other type of code. This code is not evaluated or processed before being output. Use with extreme caution.

This field type is used for the following custom field types:


true/false is_valid
True if the value is not empty
String field_id
The name of the custom field
String value
User-defined. No validation. Could be anything.
String properties
Any additional properties used to configure this field
String output
The value stored in this field is not evaulated or processed before being output. For the code field, the Output property is exactly the same as the Value property.

Sample Use

{% if page.custom_css.value %} <style type="text/css"> {{ page.custom_css }} </style> {% endif %}