{{ canonicalUrl }}: https://test.cradlecms.com/section/book/chapter/article-uno ; 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 }}: Article uno
    {{ metaDescription }}: test and debugging site for Cradle CMS
    {{ metaKeywords }}: 
    {{ canonicalUrl }}: https://test.cradlecms.com/section/book/chapter/article-uno
    {{ template }}: article

                
Request object {{ request | inspect }}
{
  "host": "test.cradlecms.com",
  "origin": "",
  "path": "/section/book/chapter/article-uno",
  "query": "",
  "referer": "",
  "remote": "216.73.216.165",
  "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



{{ article | url }}

Output: /section/book/chapter/article-uno ; has content; has four parts

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

Output: /section/book/chapter/article-tres ; has content; has four parts

Article object
{
  "id": "18d7afde-c68d-8645-8a00-9475105b508b",
  "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
  "blog": "multiple-slugs",
  "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
  "author": "Debugger",
  "published": true,
  "createdAt": "2026-09-22T15:59:08.251Z",
  "updatedAt": "2026-09-22T15:59:08.251Z",
  "publishAt": "2026-09-22T15:59:34.405Z",
  "lang": "en",
  "handle": "article-uno",
  "title": "Article uno",
  "meta": {
    "h1": "Article uno",
    "title": "Article uno",
    "description": "test and debugging site for Cradle CMS",
    "keywords": "",
    "data": null
  },
  "next": {
    "id": "18d7afe0-f493-8575-9fd3-5b37cca32725",
    "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
    "blog": "multiple-slugs",
    "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
    "author": "Debugger",
    "lang": "en",
    "handle": "article-dos",
    "title": "Article dos",
    "image": {
      "src": "",
      "alt": "",
      "alts": null
    }
  },
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "format": "RTE"
}

Article uno

Related articles

Blog object
{
  "id": "18d7afdc-add7-8119-aa76-958a90a318d9",
  "createdAt": "2026-09-22T15:58:59.246Z",
  "lang": "en",
  "handle": "multiple-slugs",
  "title": "Multiple slugs",
  "html": "\u003cp\u003eThis article has a Route with three slugs and it does not work. Remove blog?\u003c/p\u003e",
  "meta": {
    "h1": "Multiple slugs",
    "title": "Multiple slugs",
    "description": "test and debugging site for Cradle CMS",
    "keywords": "",
    "data": null
  },
  "publishAt": "0001-01-01T00:00:00Z",
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "format": "RTE",
  "text": "This article has a Route with three slugs and it does not work. Remove blog?",
  "published": true
}
Blog articles
[
  {
    "author": "Debugger",
    "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
    "blog": "multiple-slugs",
    "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
    "createdAt": "2026-09-22T15:59:28.09Z",
    "entity": "article",
    "excerpt": "",
    "format": "RTE",
    "handle": "article-tres",
    "html": "",
    "id": "18d7afe3-650e-8f08-8c8c-637e84d4d6c4",
    "image": {
      "src": "",
      "alt": "",
      "alts": null
    },
    "lang": "en",
    "meta": {
      "h1": "Article tres",
      "title": "Article tres",
      "description": "",
      "keywords": "",
      "data": null
    },
    "next": {
      "id": "18d7afe0-f493-8575-9fd3-5b37cca32725",
      "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
      "blog": "multiple-slugs",
      "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
      "lang": "en",
      "handle": "article-dos",
      "title": "Article dos",
      "image": {
        "src": "",
        "alt": "",
        "alts": null
      }
    },
    "previous": null,
    "publishAt": "2026-09-22T15:59:45.842Z",
    "published": true,
    "tags": null,
    "template": "",
    "text": "",
    "title": "Article tres",
    "updatedAt": "2026-09-22T15:59:28.09Z",
    "url": ""
  },
  {
    "author": "Debugger",
    "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
    "blog": "multiple-slugs",
    "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
    "createdAt": "2026-09-22T15:59:17.613Z",
    "entity": "article",
    "excerpt": "",
    "format": "RTE",
    "handle": "article-dos",
    "html": "",
    "id": "18d7afe0-f493-8575-9fd3-5b37cca32725",
    "image": {
      "src": "",
      "alt": "",
      "alts": null
    },
    "lang": "en",
    "meta": {
      "h1": "Article dos",
      "title": "Article dos",
      "description": "",
      "keywords": "",
      "data": null
    },
    "next": {
      "id": "18d7afde-c68d-8645-8a00-9475105b508b",
      "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
      "blog": "multiple-slugs",
      "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
      "lang": "en",
      "handle": "article-uno",
      "title": "Article uno",
      "image": {
        "src": "",
        "alt": "",
        "alts": null
      }
    },
    "previous": {
      "id": "18d7afe3-650e-8f08-8c8c-637e84d4d6c4",
      "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
      "blog": "multiple-slugs",
      "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
      "lang": "en",
      "handle": "article-tres",
      "title": "Article tres",
      "image": {
        "src": "",
        "alt": "",
        "alts": null
      }
    },
    "publishAt": "2026-09-22T15:59:40.7Z",
    "published": true,
    "tags": null,
    "template": "",
    "text": "",
    "title": "Article dos",
    "updatedAt": "2026-09-22T15:59:17.613Z",
    "url": ""
  },
  {
    "author": "Debugger",
    "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
    "blog": "multiple-slugs",
    "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
    "createdAt": "2026-09-22T15:59:08.251Z",
    "entity": "article",
    "excerpt": "",
    "format": "RTE",
    "handle": "article-uno",
    "html": "",
    "id": "18d7afde-c68d-8645-8a00-9475105b508b",
    "image": {
      "src": "",
      "alt": "",
      "alts": null
    },
    "lang": "en",
    "meta": {
      "h1": "Article uno",
      "title": "Article uno",
      "description": "",
      "keywords": "",
      "data": null
    },
    "next": null,
    "previous": {
      "id": "18d7afe0-f493-8575-9fd3-5b37cca32725",
      "blogId": "18d7afdc-add7-8119-aa76-958a90a318d9",
      "blog": "multiple-slugs",
      "authorId": "1890647c-3925-8752-a26c-03021b60c2a8",
      "lang": "en",
      "handle": "article-dos",
      "title": "Article dos",
      "image": {
        "src": "",
        "alt": "",
        "alts": null
      }
    },
    "publishAt": "2026-09-22T15:59:34.405Z",
    "published": true,
    "tags": null,
    "template": "",
    "text": "",
    "title": "Article uno",
    "updatedAt": "2026-09-22T15:59:08.251Z",
    "url": ""
  }
]