Source for https://jkunst.com/blog, built with Quarto
and published from the docs/ directory.
Quarto is bundled with current versions of RStudio. From the project root:
quarto preview --no-cleanIf quarto is not available in PATH on Windows, use RStudio's bundled copy:
& 'C:\Program Files\RStudio\resources\app\bin\quarto\bin\quarto.exe' preview --no-cleanBefore publishing, render the site and review the changes in docs/:
quarto render --no-clean
git status --shortThe posts use freeze: true. A full site render reuses the committed results in
_freeze/, which protects historical posts from package and data changes. To
create or intentionally recompute one post, render that post directly, inspect
both _freeze/ and docs/, and commit them together:
quarto render posts/YYYY-MM-DD-post-name/index.qmd
quarto render --no-cleanAlways keep --no-clean on project-wide preview and render commands: docs/
contains historical pages that no longer have a source document. Do not delete
_freeze/ or recompute all posts unless you are deliberately rebuilding their
software environments. Old posts are kept as an archive even when their original
code or external data is no longer reproducible.
- Create
posts/YYYY-MM-DD-short-title/index.qmd. - Add
title,description,date,categories, and a local previewimage. - Render the post directly once, then render the complete site.
- Check the page on desktop and mobile, including external links and image alt text.
- Commit the source,
_freeze/, and generateddocs/changes together.