{{ canonicalUrl }}: https://test1b.cradlecms.com/blog/news/article/horses ; contains https://contains site URL

Soap

Site object {{ site | print_r }}
{
  "id": "18d2227c-8220-81dc-a542-8e13fd0e634e",
  "name": "Soap",
  "lang": "en",
  "accountId": "18d20c20-02ac-8555-891f-5724028cdd45",
  "domain": "test1b.cradlecms.com",
  "theme": "18d224cb-bea1-8b34-816e-2cbb3b1f391f",
  "createdAt": "2026-09-04T13:52:00Z",
  "meta": {
    "h1": "Soap",
    "title": "Soap",
    "description": "",
    "keywords": "",
    "data": null
  },
  "data": {
    "robots": "User-agent: *\nDisallow:\n"
  },
  "langs": {
    "en": {
      "meta": {
        "h1": "Soap",
        "title": "Soap",
        "description": "",
        "keywords": "",
        "data": null
      }
    }
  }
}
Site specific objects

    {{ metaTitle }}: Bears
    {{ metaDescription }}: 
    {{ metaKeywords }}: 
    {{ canonicalUrl }}: https://test1b.cradlecms.com/blog/news/article/horses
    {{ template }}: article

                
Request object {{ request | inspect }}
{
  "host": "test1b.cradlecms.com",
  "origin": "",
  "path": "/blog/news/article/horses",
  "query": "",
  "referer": "",
  "remote": "216.73.216.78",
  "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/news

Has content

article | url

Output

/blog/news/article/horses

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

/blog/news/article/horses

Has content

product | url

Input

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

Output

/blog/news/article/horses

Has content



{{ article | url }}

Output: /blog/news/article/horses ; has content; has four parts

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

Output: /blog/news/article/horses ; has content; has four parts

Article object
{
  "id": "18d222d4-7d20-816e-85b3-994429317097",
  "blogId": "18d222ca-f0de-8e5e-a212-5be84257b0fc",
  "blog": "news",
  "authorId": "18d222a9-b26e-8904-84f9-48a1059c607d",
  "author": "Miia Restful",
  "published": true,
  "createdAt": "2026-09-04T13:58:18.047Z",
  "updatedAt": "2026-09-04T13:59:35.192Z",
  "publishAt": "2026-09-04T13:59:05.723Z",
  "lang": "en",
  "handle": "horses",
  "title": "Horses",
  "meta": {
    "h1": "Horses",
    "title": "Bears",
    "description": "",
    "keywords": "",
    "data": null
  },
  "image": {
    "src": "iStock_000015604386Large.jpg",
    "alt": "",
    "alts": null
  },
  "format": "RTE"
}

Horses

Related articles

Blog object
{
  "id": "18d222ca-f0de-8e5e-a212-5be84257b0fc",
  "createdAt": "2026-09-04T13:57:37.039Z",
  "lang": "en",
  "handle": "news",
  "title": "News",
  "html": "\u003cp\u003eThis is a markdown edited main blog page\u003c/p\u003e\n",
  "meta": {
    "h1": "News",
    "title": "News",
    "description": "",
    "keywords": "",
    "data": null
  },
  "publishAt": "2026-09-04T13:57:37Z",
  "image": {
    "src": "",
    "alt": "",
    "alts": null
  },
  "format": "MD",
  "text": "This is a markdown edited main blog page",
  "published": true
}
Blog articles
[
  {
    "author": "Miia Restful",
    "authorId": "18d222a9-b26e-8904-84f9-48a1059c607d",
    "blog": "news",
    "blogId": "18d222ca-f0de-8e5e-a212-5be84257b0fc",
    "createdAt": "2026-09-04T13:58:18.047Z",
    "entity": "article",
    "excerpt": "",
    "format": "RTE",
    "handle": "horses",
    "html": "",
    "id": "18d222d4-7d20-816e-85b3-994429317097",
    "image": {
      "src": "iStock_000015604386Large.jpg",
      "alt": "",
      "alts": null
    },
    "lang": "en",
    "meta": {
      "h1": "Horses",
      "title": "Bears",
      "description": "",
      "keywords": "",
      "data": null
    },
    "next": null,
    "previous": null,
    "publishAt": "2026-09-04T13:59:05.723Z",
    "published": true,
    "tags": null,
    "template": "",
    "text": "",
    "title": "Horses",
    "updatedAt": "2026-09-04T13:59:35.192Z",
    "url": ""
  }
]