.class { {%- if profiles is containing("fancy") -%} color: {{red}} {%- else -%} color: {{black}} {%- endif -%} }