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