_Channel.getChannel()

Function to get the channel details.

{% set channel = _Channel.getChannel() %}

Example Response

{
   "title":"Cognitives",
   "baseDomain":"cognitives.com.au",
   "media":{
      "icon":{
         "id":"wswtmtrx4bqnsqf41h7u",
         "cloudName":"cognitives",
         "path":"http://res.cloudinary.com/cognitives/image/upload/v1468930494/wswtmtrx4bqnsqf41h7u.png"
      },
      "logo":{
         "id":"h7rnco2pcdwiluqavxa9",
         "cloudName":"cognitives",
         "path":"http://res.cloudinary.com/cognitives/image/upload/v1468930492/h7rnco2pcdwiluqavxa9.png"
      }
   }
}

Response Description

AttributeDescription
titleChannel title
baseDomainChannel domain
mediaChannel Media

Channel Media

AttributeDescription
iconChannel favicon
logoChannel logo

Media Details

idCloudinary Media cloud id
cloudNameCloudinary Cloud name
pathCloudinary Media cloud path