Updated static_pages_spec with let function