Use templates instead of static files