Home
Wiki
Home
Wiki
  1. 3. Reusables
  • Back to home
  • 1. Themes
  • Vs Code
    • Getting Started
  • Kitchenware
    • Layout
      • New Layout
      • Legacy Layout
    • Components
      • Announcement
      • Banner Carousel
      • Banner With Products Carousel
      • Blog Category List
      • Blog List
      • Brand List
      • Brands Carousel
      • Breadcrumb
      • Call To Action
      • Cart
      • Categories List
      • Change Password
      • Checkout
      • Cookie Manager
      • Filter list
      • Footer
      • Forgot Password
      • Form
      • Hero Carousel
      • Icon Block
      • Invitation
      • Last Visited Products
      • Layout
      • Login
      • Map
      • Nav Bar
      • Offer
      • Product Attachments
      • Product Attributes
      • Product Documentation
      • Product Expected
      • Product Modal
      • Products Block
      • Products Carousel
      • Product Single
      • Profile
      • Quote
      • Register
      • Related Products
      • Search
      • Stores
      • Subscribe Newsletter
      • Text with Image
      • Top Bar
      • Video
    • Reusables
      • Getting Started
    • Assets
      • Getting Started
    • SDK
      • Products
        • _findProductsByCategory
        • _findProductsByIds
        • _findProductsByTitle
        • _findProductsByFilter
        • _findProductsByCriteria
        • _findProductsAndCalculate
        • _findProductsThenCalculate
        • _getProductAttributeSet
        • _setLastVisited
      • Categories
        • _findCategoryTreeById
        • _findCategoriesByIds
        • _findCategoryByAlias
        • _findCategoryTreeByAlias
        • _getCategoryContent
      • Collections
        • _getCollectionContent
        • _findCollectionsByIds
        • _findCollectionsByIdsThenCalculate
      • Brands
        • _getBrandContent
        • _findBrandsByIds
      • Cart
        • _addToCartMulti
        • _addToCart
        • _setCart
        • _clearCart
        • _setCartListener
        • _removeFromCart
        • _calculateCart
      • Checkout
        • _startCheckout
        • _updateCheckout
        • _completeCheckout
      • Shopping Lists
        • _getShoppingLists
        • _updateShoppingList
        • _createShoppingList
        • _deleteShoppingList
        • _getShoppingListByAlias
      • Navigation
        • _getFooterMenu
        • _getHeaderMenu
      • Users
        • _getUserById
      • Utils
        • _calculateCurrency
        • _getCurrencySymbol
        • _getCulture
        • _subscribeToNewsletter
        • _findUnitsByIds
  • Noir
    • 0. Introduction
    • 6. FAQ
    • 1. Structure
      • _Overview
      • LayoutA.liquid
      • ComponentsList.liquid
      • Metas.liquid
      • CssVariables.liquid
      • Json.liquid
      • GoogleTagManager.liquid
      • StagingButton.liquid
    • 2. Components
      • _Overview
      • Announcement
      • BannerCarousel
      • BlogCategoryList
      • BlogList
      • BrandList
      • Breadcrumb
      • Cart
      • CategoriesList
      • ChangePassword
      • Checkout
      • CookieManager
      • FilterList
      • Footer
      • ForgotPassword
      • Form
      • IconBlock
      • Invitation
      • LastVisitedProducts
      • Login
      • Map
      • NavBar
      • Offer
      • ProductAttachments
      • ProductAttributes
      • ProductComparison
      • ProductDocumentation
      • ProductMixList
      • ProductsBlock
      • ProductsCarousel
      • ProductSingle
      • Profile
      • Quote
      • Register
      • RelatedProducts
      • SingleBlog
      • Stores
      • TextWithImage
      • ThankYouPage
      • TopBar
      • Wishlist
    • 3. Reusables
      • _Overview
      • Addresses
      • AddressForm
      • AnnouncementModal
      • BackToTop
      • BillingRetail
      • BlogPostingStructuredData
      • BrandListStructuredData
      • CollectionStructuredData
      • Company
      • General
      • Login
      • LoginModal
      • MonthlyTransactions
      • Offers
      • Orders
      • Payment
      • ProductAttachments
      • ProductAttributes
      • ProductComparisonButton
      • ProductComparisonFloatingButton
      • ProductGridItem
      • ProductGridItemClassic
      • ProductListItem
      • ProductModal
      • ProductStructuredData
      • ProfileInfo
      • PromptModal
      • Quotes
      • Register
      • Services
      • Shipping
      • ShoppingLists
      • ShoppingListsButton
      • ShoppingListsNavbar
      • StoresStructuredData
      • Toast
      • Transactions
      • Users
      • VariantContent
      • VariantContentClassic
      • WishlistButton
    • 4. Assets
      • Fonts
      • Images
      • Templates
      • Javascript
        • _Overview
        • theme.js
      • Css - Scss
        • _Overview
        • ThemeClasses
    • 5. SDK
      • _Overview
      • LiquidGlobals
      • ServicesSDK
  1. 3. Reusables

BlogPostingStructuredData

Purpose#

BlogPostingStructuredData emits Schema.org JSON-LD (BlogPosting) for a blog article page, so search engines can produce article rich results.

Where it's rendered#

Rendered from Components/SingleBlog/Default.liquid:
{% render 'Reusables\BlogPostingStructuredData\Default', blog: blog, canonicalUrl: canonicalUrl, organizationName: organizationName, organizationLogo: organizationLogo %}

Inputs (Liquid render parameters)#

Named parameters:
blog
The blog post object for the current article page.
canonicalUrl
Canonical URL used for url / mainEntityOfPage.
organizationName
Publisher/author organization name.
organizationLogo
Publisher logo URL (used in publisher.logo).

Model shape (storefront example)#

{
    "title": "Sample blog title",
    "content": "<p>Sample content</p>",
    "mediaItem": { "link": "https://example.com/sample.jpg" },
    "publishedAt": "2026-01-01T00:00:00Z",
    "categoryName": "Sample category",
    "tags": ["sample-tag"]
}

Template behavior (Liquid + Alpine)#

Renders nothing unless blog and blog.title are present.
Strips HTML from blog.content (via | strip_html | serialize) before emitting it as articleBody.
Conditionally includes image, datePublished/dateModified, articleSection, and keywords only when the corresponding source field is present.
Emits author/publisher (both Organization) only when organizationName is provided; publisher.logo is added only when organizationLogo is also provided.

Data contract (JS runtime)#

No client-side runtime state; all data is read directly from the Liquid render parameters at render time.

JavaScript#

File: Reusables/BlogPostingStructuredData/Default.js
Exposes: blogpostingstructureddatareusabledefault (currently an empty object)
The JSON-LD block is fully server-rendered; the global only reserves a unique name in the concatenated componentscripts.js bundle.

Global Alpine stores#

None. This reusable does not read or update any Alpine store.

Services / API calls#

None. All data (blog content/metadata) is passed in as render parameters; there are no client-side API calls.

Dependencies#

Liquid: Reusables/BlogPostingStructuredData/Default.liquid
JS: Reusables/BlogPostingStructuredData/Default.js
Translations: Reusables/BlogPostingStructuredData/Default.json

Notes#

dateModified currently mirrors datePublished; if the platform starts tracking a real last-modified timestamp, update this to use it instead.
Modified at 2026-07-24 07:43:42
Previous
BillingRetail
Next
BrandListStructuredData
Built with