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

                    
                        Debugging
                        
                        
                        https://test.cradlecms.com/search
                        search
                    
                
Request object{{ request | inspect }}
{
  "host": "test.cradlecms.com",
  "origin": "",
  "path": "/search",
  "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/search ; contains https://contains site URL