Skip to content

Cannot generate meta tag #6735

@heowc

Description

@heowc

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

I tried to use ThemeConfig/Metadata[] but it doesn't seem to work.

Reproducible demo

No response

Steps to reproduce

See https://docusaurus.io/ko/docs/next/seo#global-metadata

Expected behavior

Add meta tag

Actual behavior

Not add meta tag

Your environment

  • Public source code: -
  • Public site URL: -
  • Docusaurus version used: 2.0.0-beta.15
  • Environment name and version (e.g. Chrome 89, Node.js 16.4): Node 16.4
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS): Mac

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed: questionThis issue is a user error/misunderstanding.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions