use history.pushState for /:slug/ URLs.