Skip to content

Latest commit

 

History

History
129 lines (71 loc) · 4.2 KB

sitemap.md

File metadata and controls

129 lines (71 loc) · 4.2 KB

Sitemap Schema

https://ns.adobe.com/helix/shared/sitemap

The sitemap configuration for a Project Helix website.

The formatting options for lastmod are described here: https://momentjs.com/docs/#/displaying/format/

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none sitemap.schema.json

Sitemap Type

object (Sitemap)

Sitemap Properties

Property Type Required Nullable Defined by
source string Optional cannot be null Sitemap
origin string Optional cannot be null Sitemap
destination string Optional cannot be null Sitemap
lastmod string Optional cannot be null Sitemap
languages object Optional cannot be null Sitemap

source

The source resource path to get records from. These records should at least contain a path property.

source

  • is optional

  • Type: string (Source)

  • cannot be null

  • defined in: Sitemap

source Type

string (Source)

origin

The origin to prepend to paths found in the source.

origin

  • is optional

  • Type: string (Origin)

  • cannot be null

  • defined in: Sitemap

origin Type

string (Origin)

destination

The destination resource path to store sitemap to.

destination

  • is optional

  • Type: string (Path)

  • cannot be null

  • defined in: Sitemap

destination Type

string (Path)

lastmod

The format to use for last modification of a location. If not present, no last modification is added.

lastmod

  • is optional

  • Type: string (Lastmod)

  • cannot be null

  • defined in: Sitemap

lastmod Type

string (Lastmod)

lastmod Examples

YYYY-MM-DD
YYYY-MM-DD hh:mm:ss

languages

The languages to add to the sitemap

languages

languages Type

object (Sitemap Languages)