Skip to content

Setting title via metadata in quarto_render does not workΒ #181

@cderv

Description

@cderv

Could be related to quarto-dev/quarto-cli#8987

when I try to set title via metadata like so:

quarto::quarto_render("template.qmd", metadata = list(title = "Hahaha", author = "Whoever"))

the title set in metadata is not used in the header block or HTML header (nor emitted correctly via {{< meta title >}} in the body) when a title is set in the document header. When there is no title entry in the YAML header, the title set in metadata is used and does appear in the body.

Setting e.g. the author via metadata works correctly.

Originally posted by @petrbouchal in quarto-dev/quarto-cli#8987 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestupstreamconcerns an upstream library like quarto or pandoc

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions