Copy un-referenced files to _site? #1426
-
On my previous distill website, files in the home directory (such as my resume, keybase.txt, and so on) were automatically copied into the _site directory. If I understand correctly, that's no longer the case, and files are only copied into _site if they're linked to by a qmd document. Is there a way for me to get these files to be copied into _site on render, without creating a "dummy" qmd page to link to the required files? Here's a reprex for the issue -- notice how But not on the quarto branch: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes this does work differently from distill (which had the huge problem of potentially copying datasets and other assets that you don't want published). For Quarto there is a three-pronged approach:
|
Beta Was this translation helpful? Give feedback.
Yes this does work differently from distill (which had the huge problem of potentially copying datasets and other assets that you don't want published). For Quarto there is a three-pronged approach:
Much better auto-detection of resources than we had in distill
Some well known files are automatically copied (
robots.txt
,.nojekyll
,CNAME
,_redirects
)If both of those fail you can manually specify
resources
to include in the_site
: https://quarto.org/docs/websites/website-tools.html#site-resources