Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gordonwoodhull opened this issue Nov 4, 2024 · 2 comments
Open

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

gordonwoodhull opened this issue Nov 4, 2024 · 2 comments
Assignees
Labels
brand `_brand.yml` bug Something isn't working html Issues with HTML and related web technology (html/css/scss) needs-discussion Issues that require a team-wide discussion before proceeding further
Milestone

Comments

@gordonwoodhull
Copy link
Contributor

gordonwoodhull commented Nov 4, 2024

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.)

@gordonwoodhull gordonwoodhull added the bug Something isn't working label Nov 4, 2024
@gordonwoodhull gordonwoodhull added this to the v1.6 milestone Nov 4, 2024
@mcanouil mcanouil added html Issues with HTML and related web technology (html/css/scss) brand `_brand.yml` labels Nov 5, 2024
@cscheid
Copy link
Collaborator

cscheid commented Nov 6, 2024

I can't seem to repro this one. @gordonwoodhull let's go over this in person tomorrow?

@cscheid cscheid added the needs-discussion Issues that require a team-wide discussion before proceeding further label Nov 6, 2024
@gordonwoodhull
Copy link
Contributor Author

Sure... I am likely misunderstanding something, but I can still repro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brand `_brand.yml` bug Something isn't working html Issues with HTML and related web technology (html/css/scss) needs-discussion Issues that require a team-wide discussion before proceeding further
Projects
None yet
Development

No branches or pull requests

3 participants