Skip to content

Link to local file on Quarto website? #655

Answered by jjallaire
maxdrohde asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, we turn off automatic resource discovery for self-contained files (if we didn't do this then we'd end up copying a bunch of other files to _site that we don't need to). If you absolutely require self-contained then a workaround is to list your file explicitly as a site resource (or list all pdf files as resources). For example:

project:
   type: website
   resources: 
        - resume.pdf

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@maxdrohde
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jjallaire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants