change template so that CSS is loaded only for each page