--- title: 'Liquid objects: sitemap' description: >- The sitemap for a specific group in the [`robots.txt` file](/themes/architecture/templates/robots-txt-liquid). api_name: liquid source_url: html: 'https://shopify.dev/docs/api/liquid/objects/sitemap' md: 'https://shopify.dev/docs/api/liquid/objects/sitemap.md' --- # sitemap The sitemap for a specific group in the [`robots.txt` file](https://shopify.dev/themes/architecture/templates/robots-txt-liquid). The sitemap provides information about the pages and content on a site, and the relationships between them, which helps crawlers crawl a site more efficiently. *** **Tip:** To learn more about sitemaps, refer to \Google\'s documentation\. *** The `sitemap` object consists of a `Sitemap` directive, and a value of the URL that the sitemap is hosted at. For example: ``` Sitemap: https://your-store.myshopify.com/sitemap.xml ``` *** **Tip:** You can \customize the \robots.txt\ file\ with the \\robots.txt.liquid\ template\. *** ## Properties * * **directive** [string](https://shopify.dev/docs/api/liquid/basics#string) * Returns `Sitemap`. * **value** [string](https://shopify.dev/docs/api/liquid/basics#string) * The URL that the sitemap is hosted at. ##### Example ```json { "directive": "Sitemap", "value": "https://polinas-potent-potions.myshopify.com/sitemap.xml" } ```