When rending profiles for a website, .qmd files that are not in the profile yml still render in the docs output folder. #7263
-
DescriptionI've set up multiple profiles, each with its own output folder. For example, the "hr" profile outputs to an "hr" folder, while the "vp" profile outputs to a "vp" folder. In the "vp" profile, a scorecard is generated, and its link is visible in the navbar. On the other hand, the "hr" profile doesn't generate this scorecard link, and that's exactly how I want it. The issue arises when I search for "people score", once the site is rendered. Despite not having the scorecard link in the navbar, the "hr" profile's document folder still shows it in search results. How can I prevent this scorecard link from appearing in the search results for the "hr" profile? _quarto.yml
In the below hr profile there is no link to the scorecard _quarto-hr.yml
In the below vp profile there is a link to the scorecard _quarto-vp.yml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Specify the render targets, see https://quarto.org/docs/websites/index.html#render-targets. There is nothing telling Quarto that the the Quarto documents found in the projects should not be rendered. Only files prefixed with |
Beta Was this translation helpful? Give feedback.
Specify the render targets, see https://quarto.org/docs/websites/index.html#render-targets.
There is nothing telling Quarto that the the Quarto documents found in the projects should not be rendered.
Adding elements in the navigation bars does only say "I want links there".
Only files prefixed with
_
are not rendered in a project.