Separating a stylesheet to a template