Skip to content

Feat: parse metadata for the html #468

@litingyes

Description

@litingyes

Describe the feature

Currently, we can set the title/description fields for HTML, so is it possible to parse and return the current title/description and other fields?

For example:

set

useSeoMeta({
  title: 'Page',
  description: 'test'
})

get

const metadata = useSeoMeta()

console.log(metadata)
// {
//   title: 'Page',
//   description: 'test'
// }

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions