posit-dev / product-doc-theme

Shared theme for Posit product documentation
https://docs.posit.co/
MIT License
5 stars 1 forks source link

Footer text/image needs "full path" to use .svg or images #16

Closed AshleyHenry15 closed 6 months ago

AshleyHenry15 commented 6 months ago

If I add

 - text: "<img src='assets/images/posit-logo-black-TM.svg' id='navbar-right-logo'>"

the image is broken and 404s.

However, that is the same path used for other img/svg entries throughout the yml.

Using

- text: "<img src='_extensions/posit-docs/assets/images/posit-logo-black-TM.svg' id='navbar-right-logo'>"

Works...