Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quarto: default name should default to directory name when using index.qmd #543

Open
aronatkins opened this issue Feb 1, 2024 · 2 comments

Comments

@aronatkins
Copy link
Collaborator

mkdir VeryInteresting
cd VeryInteresting
echo "very interesting" > index.qmd
rsconnect deploy quarto index.qmd

The content name should default to "VeryInteresting" rather than "index".

@aronatkins
Copy link
Collaborator Author

Alternatively, extract the title from the YAML preamble.

@aronatkins
Copy link
Collaborator Author

When deploying with an _quarto.yml file, extract the title from that file, if available, falling back to the title in the index.qmd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant