Debugging

Site object{{ site | inspect }}
{
  "id": "189063c4-bf77-8b18-8bf7-8037402f5acf",
  "name": "Debugging",
  "lang": "en",
  "accountId": "185d73b6-7e7b-80a5-bd7f-dc10366b38f3",
  "domain": "test.cradlecms.com",
  "theme": "189063cb-1317-8834-98da-c5ed0429de80",
  "createdAt": "2026-02-02T09:25:50Z",
  "meta": {
    "h1": "Debugging",
    "title": "Debugging",
    "description": "",
    "keywords": "",
    "data": null
  },
  "data": {
    "robots": "User-agent: *\nDisallow:\n"
  },
  "langs": {
    "en": {
      "meta": {
        "h1": "Debugging",
        "title": "Debugging",
        "description": "",
        "keywords": "",
        "data": null
      }
    }
  }
}
Site specific objects

Input

                    
                        {{ metaTitle }}
                        {{ metaDescription }}
                        {{ metaKeywords }}
                        {{ canonicalUrl }}
                        {{ template }}
                    
                

Output

                    
                        Blue tit
                        
                        
                        https://test.cradlecms.com/blog/birds/article/blue-tit
                        article
                    
                
Request object{{ request | inspect }}
{
  "host": "test.cradlecms.com",
  "origin": "",
  "path": "/blog/birds/article/blue-tit",
  "query": "",
  "referer": "",
  "remote": "216.73.216.169",
  "scheme": "https"
}
| url filter tests on global objects

page | url

Input

    
    {% assign pageGlobal = pages[0] %}
    {{ pageGlobal | url }}
    

Output

/page/about

Has content

blog | url

Input

    
    {% assign blogGlobal = blogs[0] %}
    {{ blogGlobal | url }}
    

Output

/blog/birds

Has content

article | url

Output

/blog/birds/article/fairywren

Has content

Has four parts

Input

    
    {% let firstBlog = blogs[0] %}
    {% assign articleGlobal = firstBlog.articles[0] %}
    {{ articleGlobal | url }}
    

collection | url

Input

    
    {% assign collectionGlobal = collections[0] %}
    {{ collectionGlobal | url }}
    

Output

/collection/bevarages

Has content

product | url

Input

    
    {% assign productGlobal = products[0] %}
    {{ productGlobal | url }}
    

Output

/product/smoothie

Has content



{{ canonicalUrl }}: https://test.cradlecms.com/blog/birds/article/blue-tit ; contains https://contains site URL

{{ article | url }}

Output: /blog/birds/article/blue-tit ; has content; has four parts

Related article url{% assign moreArticles = article | related %}{{ moreArticles[0] | url }}

Output: /blog/birds/article/fairywren ; has content; has four parts

Article object
{
  "id": "18906406-7c14-8496-bd00-558c217f8ad6",
  "blogId": "189063dd-9bf3-8dcc-91b5-13ead51fed62",
  "blog": "birds",
  "authorId": "18639375-58ce-84f4-a5ca-202209038dc8",
  "published": true,
  "createdAt": "2026-02-02T09:30:32.57Z",
  "updatedAt": "2026-02-02T09:31:01.978Z",
  "publishAt": "2026-02-02T09:31:46.528Z",
  "lang": "en",
  "handle": "blue-tit",
  "title": "Blue tit",
  "html": "\u003cp\u003eThe Eurasian blue tit (Cyanistes caeruleus) is a small passerine bird in the tit family, Paridae. It is easily recognised by its blue and yellow plumage and small size.\u003c/p\u003e\n\n\u003cp\u003eThe Eurasian blue tit is a widespread and common resident breeder throughout temperate and subarctic Europe and parts of western Asia. It inhabits deciduous or mixed woodlands, often with a high proportion of oak, and it is usually non-migratory. They typically nest in tree holes but readily adapt to using nest boxes when necessary. Their main rivals for nests and in the search for food are the larger, somewhat more common great tits (Parus major).\u003c/p\u003e\n\n\u003cp\u003eThe Eurasian blue tit\u0026rsquo;s diet consists mainly of insects and spiders. Outside of the breeding season, they also eat seeds and other plant-based foods. These birds are known for their acrobatic abilities; they can grip the outermost branches of trees and shrubs and hang upside down while searching for food.\u003c/p\u003e\n",
  "meta": {
    "h1": "Blue tit",
    "title": "Blue tit",
    "description": "",
    "keywords": "",
    "data": null
  },
  "next": {
    "id": "1890641e-3ac0-863d-b7b3-76e98b8f9cb5",
    "blogId": "189063dd-9bf3-8dcc-91b5-13ead51fed62",
    "blog": "birds",
    "authorId": "18639375-58ce-84f4-a5ca-202209038dc8",
    "lang": "en",
    "handle": "fairywren",
    "title": "Fairywren",
    "image": {
      "src": "superb-fairywren-8220199_1920.jpg",
      "alt": "",
      "alts": null
    }
  },
  "image": {
    "src": "blue-tit-8024809_1920.jpg",
    "alt": "",
    "alts": null
  },
  "format": "MD",
  "text": "The Eurasian blue tit (Cyanistes caeruleus) is a small passerine bird in the tit family, Paridae. It is easily recognised by its blue and yellow plumage and small size.\n\nThe Eurasian blue tit is a widespread and common resident breeder throughout temperate and subarctic Europe and parts of western Asia. It inhabits deciduous or mixed woodlands, often with a high proportion of oak, and it is usually non-migratory. They typically nest in tree holes but readily adapt to using nest boxes when necessary. Their main rivals for nests and in the search for food are the larger, somewhat more common great tits (Parus major).\n\nThe Eurasian blue tit's diet consists mainly of insects and spiders. Outside of the breeding season, they also eat seeds and other plant-based foods. These birds are known for their acrobatic abilities; they can grip the outermost branches of trees and shrubs and hang upside down while searching for food. "
}

Blue tit

The Eurasian blue tit (Cyanistes caeruleus) is a small passerine bird in the tit family, Paridae. It is easily recognised by its blue and yellow plumage and small size.

The Eurasian blue tit is a widespread and common resident breeder throughout temperate and subarctic Europe and parts of western Asia. It inhabits deciduous or mixed woodlands, often with a high proportion of oak, and it is usually non-migratory. They typically nest in tree holes but readily adapt to using nest boxes when necessary. Their main rivals for nests and in the search for food are the larger, somewhat more common great tits (Parus major).

The Eurasian blue tit’s diet consists mainly of insects and spiders. Outside of the breeding season, they also eat seeds and other plant-based foods. These birds are known for their acrobatic abilities; they can grip the outermost branches of trees and shrubs and hang upside down while searching for food.

Related articles