Open nathanj3 opened 2 months ago
Thanks I can reproduce that logo-alt is not added properly in website project (thus book projects).
<a href="https://google.com/" class="sidebar-logo-link" data-original-href="https://google.com/">
<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" alt="" class="sidebar-logo py-0 d-lg-inline d-none">
</a>
I have a fix for this.
PR is up.
Note that the issue is totally unrelated and independent of logo-href
.
Bug description
I love the new inclusion of logo-alt for the sidebar, but it's not working for me for some reason. I tried removing the
logo-href
field but the problem persisted.Steps to reproduce
_quarto.yml
contains:and
index.qmd
contains:Expected behavior
The sidebar logo should contain the alt text from the
logo-alt
fieldActual behavior
The HTML book generates, and when I inspect the logo, I get
alt=""
as shown here:<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" alt="" class="sidebar-logo py-0 d-lg-inline d-none">
Your environment
Quarto check output