Is sitemap.xml only created when using quarto publish?
#14390
-
DescriptionIn short, I want to know if the I have a website that is published on GitHub pages, and updates to that site are handled automatically with the Quarto GH Action for publishing. However, I need to also host this site on another server, and I've already set up a webhook to transfer the rendered contents of the site to this other server. Additionally, I set up profiles in project:
type: website
output-dir: _site
resources:
- assets/
profile:
default: github
profiles:
github:
website:
site-url: https://lmu-osc.github.io/
production:
website:
site-url: https://www.osc.lmu.de/However, only the github profile created with the publish action generates the sitemap and robots files. The production profile is rendered with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Try yourself in a simple project I don't know what's the YAML you shared, but this looks like a quite heavy LLM hallucination, see https://quarto.org/docs/projects/profiles.html. The documentation is LLM friendly, ask your LLM to ALWAYS double check what it provides, especially if you don't yourself, and to read the ".llms.md" pages as a replacement of the ".html" ones (https://quarto.org/docs/projects/profiles.llms.md). |
Beta Was this translation helpful? Give feedback.
-
|
Here's a rough reprex of how I got this to work out:
project:
type: website
profile:
default: github
website:
title: "testing"
navbar:
left:
- href: index.qmd
text: Home
- about.qmd
format:
html:
theme:
- cosmo
- brand
css: styles.css
toc: true
In general then, |
Beta Was this translation helpful? Give feedback.
quarto publishis doing by defaultquarto render+ some operations to publish.The publish part does not create files in
_site, that'squarto render's job.Try yourself in a simple project
quarto create project websitethenquarto render.Add
site-url: https://example.comand you'll get the two files.I don't know what's the YAML you shared, but this looks like a quite heavy LLM hallucination, see https://quarto.org/docs/projects/profiles.html.
The documentation is LLM friendly, ask your LLM to ALWAYS double check what it provides, especially if you don't yourself, and to read the ".llms.md" pages as a replacement of the ".html" ones (https://quarto.org/docs/projects/profiles.llms.md).