Modified reference to template and externalized css rules.