{{ canonicalUrl }}: https://test.cradlecms.com/page/theme-settings ; contains https://contains site URL

Debugging

Site object {{ site | print_r }}
{
  "id": "189063c4-bf77-8b18-8bf7-8037402f5acf",
  "name": "Debugging",
  "lang": "en",
  "accountId": "185d73b6-7e7b-80a5-bd7f-dc10366b38f3",
  "domain": "test.cradlecms.com",
  "theme": "18cced5d-606e-817c-b99a-8f80bea8e6a9",
  "createdAt": "2026-02-02T09:25:50Z",
  "meta": {
    "h1": "Debugging",
    "title": "Debugging",
    "description": "test and debugging site for Cradle CMS",
    "keywords": "keyword,added,in,admin",
    "data": null
  },
  "organisation": "Cradle",
  "location": "Stockholm",
  "data": {
    "robots": "User-agent: *\nDisallow:\n"
  },
  "langs": {
    "en": {
      "meta": {
        "h1": "Debugging",
        "title": "Debugging",
        "description": "test and debugging site for Cradle CMS",
        "keywords": "keyword,added,in,admin",
        "data": null
      }
    }
  }
}
Shop object {{ shop | print_r }}
{
  "id": "189063c4-bf77-8b18-8bf7-8037402f5acf",
  "currency": "EUR",
  "currencies": {
    "EUR": "€{{value}} EUR"
  },
  "baseCurrency": "EUR",
  "settings": {
    "b2b": false,
    "b2c": true,
    "registration": true,
    "requireAccount": false,
    "sandbox": true
  },
  "country": "SE"
}
Site specific objects

    {{ metaTitle }}: Theme settings
    {{ metaDescription }}: test and debugging site for Cradle CMS
    {{ metaKeywords }}: 
    {{ canonicalUrl }}: https://test.cradlecms.com/page/theme-settings
    {{ template }}: page.themesettings

                
Request object {{ request | inspect }}
{
  "host": "test.cradlecms.com",
  "origin": "",
  "path": "/page/theme-settings",
  "query": "",
  "referer": "",
  "remote": "216.73.216.147",
  "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



{{ page | url }}: /page/theme-settings | Has content


Theme settings

Page object
{{ page | print_r }}
{
  "id": "18e1284b-8279-8330-bf48-b5f7b8393e48",
  "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
  "author": "Debugger",
  "template": "themesettings",
  "published": true,
  "createdAt": "2026-10-23T12:27:11.446Z",
  "updatedAt": "2026-10-23T12:33:16.734Z",
  "publishAt": "2026-10-23T12:28:22.743Z",
  "lang": "en",
  "handle": "theme-settings",
  "title": "Theme settings",
  "meta": {
    "h1": "Theme settings",
    "title": "Theme settings",
    "description": "test and debugging site for Cradle CMS",
    "keywords": "",
    "data": null
  },
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "format": "HTML"
}
{"id":"18e1284b-8279-8330-bf48-b5f7b8393e48","authorId":"1890647c-3925-8752-a26c-03021b60c2a8","author":"Debugger","template":"themesettings","published":true,"createdAt":"2026-10-23T12:27:11.446Z","updatedAt":"2026-10-23T12:33:16.734Z","publishAt":"2026-10-23T12:28:22.743Z","lang":"en","handle":"theme-settings","title":"Theme settings","meta":{"h1":"Theme settings","title":"Theme settings","description":"test and debugging site for Cradle CMS","keywords":"","data":null},"image":{"src":"","alt":"","alts":null},"format":"HTML"}

All settings

    
{
  "fontFile": "Orbitron-Black.ttf",
  "fontFileTTF": "Orbitron-VariableFont_wght.ttf",
  "fontFileWOFF": "orbitron-regular-webfont.woff",
  "fontFileWOFF2": "orbitron-regular-webfont.woff2",
  "pickArticle": {
    "_key": "test_settings/pickArticle",
    "article": "blue-tit",
    "entity": "article",
    "id": "18906406-7c14-8496-bd00-558c217f8ad6",
    "parent": ""
  },
  "pickBlog": {
    "_key": "test_settings/pickBlog",
    "blog": "birds",
    "entity": "blog",
    "id": "189063dd-9bf3-8dcc-91b5-13ead51fed62",
    "parent": ""
  },
  "pickPage": {
    "_key": "test_settings/pickPage",
    "entity": "page",
    "id": "189063cc-e29c-8209-8065-af3b0c3d03e1",
    "page": "about",
    "parent": ""
  },
  "testImage": "jorge-ramirez-c3_C0L_zef8-unsplash-closeup.jpg",
  "testgif": "",
  "testpng": "",
  "testsvg": "",
  "testvideo": ""
}

Image jpg

"jorge-ramirez-c3_C0L_zef8-unsplash-closeup.jpg"
| asset_img_url
| url

Image png

""

Image svg

""

Image gif

""

Image mp4

""

Resource picker

Page

Input

{% assign p = pages[settings.pickPage] %}
{{ p | print_r }}

Output

{
  "author": "",
  "authorId": "18639375-58ce-84f4-a5ca-202209038dc8",
  "createdAt": "2026-02-02T09:26:25.182Z",
  "entity": "page",
  "format": "RTE",
  "handle": "about",
  "html": "\u003cp\u003eIn academic terms, a text is anything that conveys a set of meanings to \nthe person who examines it. You might have thought that texts were \nlimited to written materials, such as books, magazines, newspapers, and \n‘zines (an informal term for magazine that refers especially to fanzines\n and webzines). Those items are indeed texts—but so are movies, \npaintings, television shows, songs, political cartoons, online \nmaterials, advertisements, maps, works of art, and even rooms full of \npeople. If we can look at something, explore it, find layers of meaning \nin it, and draw information and conclusions from it, we’re looking at a \ntext.\u003c/p\u003e",
  "id": "189063cc-e29c-8209-8065-af3b0c3d03e1",
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "lang": "en",
  "meta": {
    "h1": "About",
    "title": "About",
    "description": "",
    "keywords": "",
    "data": null
  },
  "publishAt": "2026-02-02T09:27:17.314Z",
  "published": true,
  "tags": null,
  "template": "",
  "text": "In academic terms, a text is anything that conveys a set of meanings to \nthe person who examines it. You might have thought that texts were \nlimited to written materials, such as books, magazines, newspapers, and \n‘zines (an informal term for magazine that refers especially to fanzines\n and webzines). Those items are indeed texts—but so are movies, \npaintings, television shows, songs, political cartoons, online \nmaterials, advertisements, maps, works of art, and even rooms full of \npeople. If we can look at something, explore it, find layers of meaning \nin it, and draw information and conclusions from it, we’re looking at a \ntext.",
  "title": "About",
  "updatedAt": "2026-08-22T06:32:20.91Z",
  "url": ""
}
URL filter: /page/about
Blog

Input

{% assign b = blogs[settings.pickBlog] %}
{{ b | print_r }}

Output

{
  "articleCount": 2,
  "articleTags": null,
  "articles": {},
  "createdAt": "2026-02-02T09:27:37.011Z",
  "entity": "blog",
  "format": "MD",
  "handle": "birds",
  "html": "",
  "id": "189063dd-9bf3-8dcc-91b5-13ead51fed62",
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "lang": "en",
  "meta": {
    "h1": "Birds",
    "title": "Birds",
    "description": "",
    "keywords": "",
    "data": null
  },
  "policy": 0,
  "publishAt": "0001-01-01T00:00:00Z",
  "published": true,
  "tags": null,
  "template": "",
  "text": "",
  "title": "Birds",
  "url": ""
}
URL filter: /blog/birds
Article

Input


                {% assign a = articles[settings.pickArticle] %}
                {{ a | print_r }}
            

Output

null
URL filter: /page/theme-settings
null
{
  "articleCount": 2,
  "articleTags": null,
  "articles": {},
  "createdAt": "2026-02-02T09:27:37.011Z",
  "entity": "blog",
  "format": "MD",
  "handle": "birds",
  "html": "",
  "id": "189063dd-9bf3-8dcc-91b5-13ead51fed62",
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "lang": "en",
  "meta": {
    "h1": "Birds",
    "title": "Birds",
    "description": "",
    "keywords": "",
    "data": null
  },
  "policy": 0,
  "publishAt": "0001-01-01T00:00:00Z",
  "published": true,
  "tags": null,
  "template": "",
  "text": "",
  "title": "Birds",
  "url": ""
}
[]