Rather than writing
.block, .foo { color: orange ; }
you can use
.block { color: orange; } .foo { @extend .block; // the rest of my CSS for foo is already here }
.block, .foo { color: orange ; }
.block { color: orange; } .foo { @extend .block; // the rest of my CSS for foo is already here }
/* * Implements template_preprocess_node(&$variables) */ function rcnjobs_preprocess_node(&$variables) { $nid = $variables['nid']; $this_node = node_load($nid); $this_node_wrapper = entity_metadata_wrapper('node', $this_node); $recruiter = $this_node_wrapper->field_recruiter_reference->value(); $recruiter_name = $recruiter->name; $location_tid_info = $this_node_wrapper->field_job_location->value(); $location = $location_tid_info[0]->name; }