Skip to content

embedded brand metadata does not show logo in html output #11309

Open

Description

This does not show the logo in html, but it works for typst:

logo-embedded.qmd

---
title: logo across formats
format:
  html: default
  typst:
    keep-typ: true
brand:
  logo:
    images:
      quarto:
        path: quarto.png
        alt: quarto logo
      posit:
        path: posit-logo-2024.svg
        alt: posit logo
    medium: quarto
    large: posit
---

{{< lipsum 4 >}}

_quarto.yml

project:
  type: website
website:
  sidebar:
    style: "docked"

    contents: []

However if I move _brand.yml to its own file

_brand.yml

logo:
  images:
    quarto:
      path: quarto.png
      alt: quarto logo
    posit:
      path: posit-logo-2024.svg
      alt: posit logo
  medium: quarto
  large: posit

logo-linked.qmd

---
title: logo across formats
format:
  html: default
  typst: default
---

{{< lipsum 4 >}}

This displays the logo in both formats.

(I have a feeling I have created cross-format compatibility bugs by allowing logo to be an object for typst, ran into this bug on the way.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

brand`_brand.yml`bugSomething isn't workinghtmlIssues with HTML and related web technology (html/css/scss)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions