code: function createRelation (type, product) {
      return {
        type,
        text: product.presskit.title,
        path: getAbsolutePageUrl(product.path, product.presskit.type)
      }
    }
docs: Helper to create a relation object.