Open
Description
Bug description
When using one of the built-in "About" templates, internal links (to pages or files) are broken and result in the message "can’t find the file at /index.html." It appears that the host url does not get properly inserted.
Steps to reproduce
Make a Quarto website using the built-in RStudio template and edit the file about.qmd
to read:
---
title: "Finley Malloc"
about:
id: hero-heading
template: jolla
image: profile.jpg
links:
- icon: twitter
text: twitter
href: https://twitter.com
- icon: file-pdf
text: broken link to index
href: index.qmd
---
About this site
```{r}
1 + 1
```
[A link to index that does work](index.qmd)
(Or any other internal page or file in place of index.qmd).
Expected behavior
The rendered html page contains a link to the page "index.html" (or any other internal page or file).
*When using the RStudio browser the link does work, but the rendered html does not work in a browser
Actual behavior
The rendered html has a link that tries to go to the page "file:///index.html" (no host url or local location) which produces the error message "File not found".
Your environment
- IDE: RStudio Version 2024.04.2+764 (2024.04.2+764)
- MacOS 14.2.1
Quarto check output
Quarto 1.4.554
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.554
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/elissa/Library/TinyTeX/bin/universal-darwin
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.7
Path: /opt/homebrew/opt/[email protected]/bin/python3.11
Jupyter: 5.7.1
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.4.1
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
knitr: 1.46
rmarkdown: 2.27
[✓] Checking Knitr engine render......OK