<h1>All Blogs</h1> <p>A list of all Blogs on the site.</p> <h3>Standard Rendering from Component tag</h3> {% component type: "module", source: "Blog", layout: "Blog List Layout" %} <code><h2>{{this['name']}}</h2></code> <hr> <h3>Custom Rendering from Liquid Collection</h3> {% component type: "module", source: "Blog", layout: "", collectionVariable: "blogData" %} <ul> {% for i in blogData.items %} <li><a href="{{i.url}}">{{i.name}}</a></li> {% endfor %} </ul>
All Blogs
A list of all Blogs on the site.
Standard Rendering from Component tag
Custom Rendering from Liquid Collection
{ "Params": { "type": "module", "source": "Blog", "layout": "", "collectionvariable": "blogData" }, "Pagination": { "CurrentPage": 1, "ItemsPerPage": 10, "NumberOfPages": 1, "TotalItemsCount": 3 }, "Parent": { "Id": 2291, "Name": "All Blogs (Copy)", "Url": "/demo-cs/all-blogs-copy-", "Url_List": [ "/demo-cs/all-blogs-copy-" ], "UrlSlug": "all-blogs-copy-", "ParentId": 2224, "ParentId_List": [ 2224 ], "ParentName": "demo-cs", "ParentUrl": "/demo-cs", "TemplateName": "DEMO Companion Site", "Module_Alias": "Page", "Module_ID": 1522, "Enabled": true, "ReleaseDate": "2018-12-14T18:00:00", "ExpiryDate": "2099-12-10T18:00:00", "SiteSearchKeywords": [], "Description": "\r\n \r\n \r\n ×\r\n \r\n {% capture htmlCode %}\r\n {% raw %}\r\n All Blogs\r\n A list of all Blogs on the site.\r\n Standard Rendering from Component tag\r\n {% component type: \"module\", source: \"Blog\", layout: \"Blog List Layout\" %}\r\n {{this['name']}}\r\n \r\n Custom Rendering from Liquid Collection\r\n {% component type: \"module\", source: \"Blog\", layout: \"\", collectionVariable: \"blogData\" %}\r\n \r\n {% for i in blogData.items %}\r\n {{i.name}}\r\n {% endfor %}\r\n \r\n {% endraw %}\r\n {% endcapture %}\r\n {{htmlCode | escape}}\r\n \r\n \r\n \r\n \r\n - Markup\r\n - Liquid Collection\r\n \r\n All Blogs\r\n A list of all Blogs on the site.\r\n Standard Rendering from Component tag\r\n {% component source: \"Blog\", layout: \"Blog List Layout\", type: \"module\" %}\r\n \r\n Custom Rendering from Liquid Collection\r\n {% component type: \"module\", source: \"Blog\", layout: \"\", collectionVariable: \"blogData\" %}\r\n \r\n {% for i in blogData.items %}\r\n {{i.name}}\r\n {% endfor %}\r\n \r\n \r\n \r\n \r\n \r\n ×\r\n \r\n {{blogData | strip_html}}\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.0, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, "Items": [ { "Id": 2286, "Name": "DEMO Custom Blog", "Url": "/demo-custom-blog", "Url_List": [ "/demo-custom-blog" ], "UrlSlug": "demo-custom-blog", "ParentId": 1528, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "DEMO Companion Site", "Module_Alias": "Blog", "Module_ID": 1528, "Enabled": true, "ReleaseDate": "2018-12-14T18:00:00", "ExpiryDate": "2099-12-10T18:00:00", "SiteSearchKeywords": [], "Description": "This is a description for my blog.\r\nIt has Categories and Tags applied and can be filtered by Category, Tag and Month.\r\nPagination is also enabled.", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.0, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": "", "type": "", "url": "", "locale": "", "image": "" }, "ExternalId": 0, "Params": {} }, { "Id": 2464, "Name": "DEMO Custom Blog 2", "Url": "/demo-custom-blog-2", "Url_List": [ "/demo-custom-blog-2" ], "UrlSlug": "demo-custom-blog-2", "ParentId": 1528, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "DEMO Companion Site", "Module_Alias": "Blog", "Module_ID": 1528, "Enabled": true, "ReleaseDate": "2019-11-06T00:00:00", "ExpiryDate": "2099-12-12T00:00:00", "SiteSearchKeywords": [], "Description": "This is a description for my blog.\nIt has Categories and Tags enabled and can be filtered by Keyword/Search, Category, Tag and Month.\nFor the depreciated blog layout see here.\n", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "ShowPageForSearchEngine": false, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 2279, "Name": "DEMO HTML Blog", "Url": "/demo-html-blog", "Url_List": [ "/demo-html-blog" ], "UrlSlug": "demo-html-blog", "ParentId": 1528, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "DEMO Companion Site", "Module_Alias": "Blog", "Module_ID": 1528, "Enabled": true, "ReleaseDate": "2018-11-25T18:00:00", "ExpiryDate": "2099-12-11T07:00:00", "SiteSearchKeywords": [], "Description": "", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.0, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} } ] }