Skip to main content
Glama
blog.md3.09 kB
# Blog Information about a specific [blog](https://help.shopify.com/manual/online-store/blogs/adding-a-blog) in the store. ## Properties ### all_tags **Type:** array of [string](https://shopify.dev/docs/api/liquid/basics#string) "All of the tags on the articles in the blog" including those not in the current pagination view. ### articles **Type:** array of [article](https://shopify.dev/docs/api/liquid/objects/article) The articles in the blog. Use the [paginate](https://shopify.dev/docs/api/liquid/tags/paginate) tag to choose how many articles to show per page, up to 50. ### articles_count **Type:** [number](https://shopify.dev/docs/api/liquid/basics#number) The total number of articles in the blog, excluding hidden articles. ### comments_enabled? **Type:** [boolean](https://shopify.dev/docs/api/liquid/basics#boolean) "Returns `true` if comments are enabled for the blog. Returns `false` if not." ### handle **Type:** [string](https://shopify.dev/docs/api/liquid/basics#string) The [handle](https://shopify.dev/docs/api/liquid/basics#handles) of the blog. ### id **Type:** [number](https://shopify.dev/docs/api/liquid/basics#number) The blog's ID. ### metafields **Type:** array of [metafield](https://shopify.dev/docs/api/liquid/objects/metafield) The [metafields](https://shopify.dev/docs/api/liquid/objects/metafield) applied to the blog. ### moderated? **Type:** [boolean](https://shopify.dev/docs/api/liquid/basics#boolean) "Returns `true` if the blog is set to moderate comments. Returns `false` if not." ### next_article **Type:** [article](https://shopify.dev/docs/api/liquid/objects/article) "The next (older) article in the blog. Returns `nil` if there is no next article." Use on article pages to output next links. ### previous_article **Type:** [article](https://shopify.dev/docs/api/liquid/objects/article) "The previous (newer) article in the blog. Returns `nil` if there is no previous article." Use on article pages to output previous links. ### tags **Type:** array of [string](https://shopify.dev/docs/api/liquid/basics#string) A list of all tags on articles in the blog. Unlike `blog.all_tags`, this only returns tags from articles in the filtered view. ### template_suffix **Type:** [string](https://shopify.dev/docs/api/liquid/basics#string) The name of the [custom template](https://shopify.dev/themes/architecture/templates#alternate-templates) assigned to the blog, without the `blog.` prefix or file extension. Returns `nil` if no custom template is assigned. ### title **Type:** [string](https://shopify.dev/docs/api/liquid/basics#string) The blog's title. ### url **Type:** [string](https://shopify.dev/docs/api/liquid/basics#string) The relative URL of the blog. ## Example ```json { "all_tags": [], "articles": [], "articles_count": 3, "comments_enabled?": true, "handle": "potion-notions", "id": 78580613185, "metafields": {}, "moderated?": true, "next_article": {}, "previous_article": {}, "tags": [], "template_suffix": "", "title": "Potion Notions", "url": "/blogs/potion-notions" } ```

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florinel-chis/shopify-liquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server