Skip to content
shopdepot.dev

Reference

article

A blog post.

View as Markdown

Generated from the platform code - always matches what the theme engine allows.

A blog post.

Available on: blog post, blog, home page, search.

Properties

Property Type Description
article.id string Post identifier.
article.title string Post title.
article.handle string The URL handle - /blog/<handle>/.
article.url string Address of the post.
article.excerpt string The excerpt the merchant wrote, otherwise the opening of the post.
article.content string Post content, ready HTML.
article.author string or null Author name.
article.publishedAt date or null Publication date - format with |date.
article.readingTime number Reading time in whole minutes, at least 1.
article.image string or null Address of the cover image.
article.category blog_category or null The category for the badge and breadcrumbs. Null for a post without a category.
article.categories list of blog_category All categories of the post.
article.seoTitle string or null SEO title.
article.seoDescription string or null Meta description.