extracted method make_slug in PageRender.