quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.92k stars 322 forks source link

root-relative hrefs in template links are not resolved properly #3404

Open cscheid opened 1 year ago

cscheid commented 1 year ago

This, in a website, will generate links to /cv.pdf and /blog.html regardless of the root directory of the website:

---
about:
  template: trestles
  links:
    - text: Blog
      url: "/blog.html"
    - text: CV
      url: "/cv.pdf"
---
cscheid commented 1 year ago

Punting to 1.4 because the fix involves navigationItem and we don't want the regression risk.

cscheid commented 11 months ago

@dragonstyle I'm thinking 1.5 for this one, and we make sure to give it a shot early on so there's time to shake out regressions.