Skip to content

Commit 7b08256

Browse files
authored
Add head metadata to markdown-features guide
Updated head metadata section to include title, id, description, and slug for better documentation clarity.
1 parent a3079ab commit 7b08256

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/guides/markdown-features/markdown-features-head-metadata.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2+
title: Head Metadata
23
id: head-metadata
34
description: Declaring page-specific head metadata through MDX
45
slug: /markdown-features/head-metadata
56
---
67

7-
# Head Metadata
8-
98
Docusaurus automatically sets useful metadata inside `<html>`, `<head>` and `<body>` for every page. However, you can **add extra metadata or override defaults** directly inside your Markdown/MDX file
109
using the `<head>` tag.
1110

@@ -61,8 +60,6 @@ These fields automatically populate both `description` and `og:description` with
6160
manually writing multiple `<meta>` tags.
6261
:::
6362

64-
<AdsComponent />
65-
6663
## Markdown page description {#markdown-page-description}
6764

6865
Each Markdown page has a **description** value that Docusaurus can use in multiple places—like the **generated category index cards** in the docs sidebar.
@@ -98,4 +95,4 @@ Main content… May contain some [links](./file.mdx) or **emphasis**.
9895

9996
* **Portable & versioned**: Works across all docs versions and i18n locales.
10097
* **Automatic**: Updates Open Graph and social previews without extra tags.
101-
* **Editor-friendly**: Visible in the same YAML section as other metadata.
98+
* **Editor-friendly**: Visible in the same YAML section as other metadata.

0 commit comments

Comments
 (0)