Fix css path logic for each page