Head metadata
Customizing head metadata
Docusaurus automatically sets useful page metadata in <html>
, <head>
and <body>
for you. It is possible to add extra metadata (or override existing ones) with the <head>
tag in Markdown files:
markdown-features-head-metadata.mdx
---
id: head-metadata
title: Head Metadata
---
<head>
<html className="some-extra-html-class" />
<body className="other-extra-body-class" />
<title>Head Metadata customized title!</title>
<meta charSet="utf-8" />
<meta name="twitter:card" content="summary" />
<link rel="canonical" href="https://docusaurus.io/docs/markdown-features/head-metadata" />
</head>
# Head Metadata
My text