add css/ls template support