docs: def home_slug():
      """
      Returns the slug arg defined for the ``home`` urlpattern, which
      is the definitive source of the ``url`` field defined for an
      editable homepage object.
      """
      prefix = get_script_prefix()
      slug = reverse("home")
      if slug.startswith(prefix):
          slug = '/' + slug[len(prefix):]
      try:
          return resolve(slug).kwargs["slug"]
      except KeyError:
          return slug