use path helpers
use shorter syntax for static_pages spec