Docusaurus automatically sets useful page metadata in
<body> for you.
It is possible to add extra metadata (or override existing ones) by using the
<head> tag in Markdown files:
title: Head Metadata
<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 Metadata
<head> declaration has been added to the current Markdown doc, as a demo.
Open your browser DevTools and check how this page's metadata has been affected.
You don't always need this for typical SEO needs. Content plugins (e.g. docs and blog) provide front matter options like
image, which will be automatically applied to both
og:description, while you would have to manually declare two metadata tags when using the