Page title

Each page must define a level-one heading.

# This is my title
		

The heading supplies the visible page title, link text, and the default HTML page title. For public Elastic Docs builds, the builder appends | Elastic Docs to the HTML title.

When the page resolves to exactly one product and the heading does not already contain that product's display name, the builder adds the product name automatically. Product resolution merges page frontmatter with docset, repository, applies_to, and mapped_pages metadata:

---
products:
  - id: elasticsearch
---

# Query DSL
		

The resulting HTML title is Query DSL - Elasticsearch | Elastic Docs, while the visible heading remains Query DSL. Pages associated with multiple products keep the heading as their default HTML title because the builder cannot choose one product keyword.

API operation pages use the related form {H1} - {Product} API | Elastic Docs.

The heading is also used by:

  • The left navigation.
  • Navigational elements, such as breadcrumbs and previous and next links.
  • Automatic link text.
[](titles.md)
		

Generated link text: Page title.

---
navigation_title: Title as it appears on the left hand site navigation
---

# This is my title