Home
Wiki
Home
Wiki
  1. 1. Structure
  • 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
    • 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
      • ProductAttachments
      • ProductAttributes
      • ProductComparison
      • ProductDocumentation
      • ProductMixList
      • ProductsBlock
      • ProductsCarousel
      • ProductSingle
      • Profile
      • Register
      • RelatedProducts
      • SingleBlog
      • Stores
      • TextWithImage
      • ThankYouPage
      • TopBar
      • Wishlist
    • 3. Reusables
      • Overview
      • Addresses
      • BillingRetail
      • AddressForm
      • AnnouncementModal
      • BackToTop
      • Company
      • General
      • Login
      • LoginModal
      • Orders
      • Payment
      • ProductAttachments
      • ProductAttributes
      • ProductComparisonButton
      • ProductComparisonFloatingButton
      • ProductGridItem
      • ProductListItem
      • ShoppingListsButton
      • ProductModal
      • ProfileInfo
      • PromptModal
      • Register
      • Shipping
      • ShoppingLists
      • ShoppingListsNavbar
      • Toast
      • Users
      • VariantContent
      • WishlistButton
      • Services
    • 4. Assets
      • Fonts
      • Images
      • Templates
      • Javascript
        • Overview
        • theme.js
      • Css / Scss
        • Overview
        • ThemeClasses
    • 5. SDK
      • Overview
      • LiquidGlobals
      • ServicesSDK
  1. 1. Structure

Metas.liquid

Purpose#

Metas.liquid is responsible for rendering the HTML <head> metadata used across the Noir theme.
It centralizes common head tags such as:
charset / viewport
page title
SEO-related meta tags (description, robots, canonical)
social sharing tags (Open Graph, Twitter cards) when available
any other required headers provided by the platform/page model
Keeping these tags in a single file ensures consistency and minimizes duplication across layouts.

Where it's used#

Metas.liquid is rendered by the main layout template:
Structure/LayoutA.liquid
Example (from the layout):
{% render 'Structure\\Metas' %}
This means every page that uses LayoutA.liquid will also include Metas.liquid.

Inputs / data sources#

Metas.liquid reads metadata from global Liquid objects provided by the platform.
Common data sources you'll typically see used in metas templates:
Root.Page.Metas.*
language / iso language
title
description
canonical url (if provided)
additional meta flags
GlobalData.*
root paths (used for absolute URLs in OG images, icons, etc.)
settings that affect indexing, analytics, environment, etc.
Note
The exact metadata keys depend on what the platform provides in Root.Page.Metas.
The goal of this doc page is to explain what Metas.liquid is responsible for, not to enforce a fixed set of keys.

Output#

The template outputs tags inside <head> such as:
<meta ...>
<title>...</title>
<link rel="canonical" ...>
<link rel="icon" ...> (if included)
<meta property="og:*" ...> (if included)

Common changes#

Typical reasons to modify Metas.liquid:
add or adjust canonical logic
add missing SEO tags (robots, theme-color, hreflang)
adjust Open Graph / Twitter meta tags for social sharing
add favicon links / manifest links
include platform-required headers once, centrally

Recommendations#

Avoid duplicates: don't output the same meta tag from multiple places (layout + component). Keep head elements here.
Prefer absolute URLs for OG images/canonical when possible, especially for social platforms.
Be careful with robots/noindex rules: ensure staging/dev environments don't leak as indexable pages if that's a concern.
Encoding: keep <meta charset="utf-8"> early in the head.
Modified at 2026-04-14 13:18:56
Previous
ComponentsList.liquid
Next
CssVariables.liquid
Built with