DSLC 2024
Make sure you’ve:
Joined the Posit Cloud workspace: Link in Slack
Started the “Website” project (look under “Content” tab)
Created a Quarto Pub account: https://quartopub.com/sign-up
Website + Slides: https://charlotte.quarto.pub/dslc24
Hello, I’m Charlotte Wickham:
TAs: Derek Sollberger, Priyanka Gagneja, Federica Gazzeloni, and Collin Berke
Introduce yourself to your breakout room:
Check you are all set up
5 mins
Goal: You create a website with Quarto
My turns: I’ll use slides, and live code to demonstrate ideas.
Your Turns: You practice what you’ve just seen in breakout rooms where TAs can help.
Ask questions:
index.qmd
Render/preview index.qmd
. It becomes index.html
, your homepage.
Regular Quarto document with:
Workflow: Edit, render/preview
Uses an about
template: https://quarto.org/docs/websites/website-about.html
Other templates: jolla
, trestles
, solana
, marquee
, or broadside
Edit index.qmd
:
title
and subtitle
jolla
, trestles
, solana
, marquee
, or broadside
links
image
, and edit image-alt
Spare time? Edit the content of the page
8 mins
image
image-alt
Paths in a .qmd
are relative to the location of the .qmd
New Quarto Document: projects.qmd
File path becomes URL path: { site url }/projects.html
_quarto.yml
: configuration file
File path becomes URL path
File location
demo.qmd
talks/index.qmd
data/air-quality.csv
URL
{ site url }/demo.html
{ site url }/talks/
{ site url }/data/air-quality.csv
Spare time: Add content to the page
8 mins
left
sidebar
and back againtools
List of available themes: https://quarto.org/docs/output-formats/html-themes.html
styles.scss
quarto publish
Other venues: gh-pages
, netlify
, connect
, posit-cloud
Updates? Re-run quarto publish
type
, or custom template
)contents
can be a YAML filetalks/talks.yml
- title: "Quarto: Reproducible Publishing"
date: 2024-03-01
venue: Oakridge National Lab
path: https://github.com/cwickham/oakridge
- title: What's New in Quarto?
date: 2023-09-01
venue: "`posit::conf(2023)`"
path: https://youtu.be/WR08GESib9Y?si=vTxco6_yuEDV8TBC
- title: This Month I Learned...
date: 2021-04-01
venue: Rladies Washington D.C., via Zoom
path: https://cwickham.github.io/this-month-I-learned/#1
A minimal website only needs two files:
_quarto.yml
Explore docs at: https://quarto.org/docs/websites/
I’ll post in Slack
Share your URL
Ask questions in Slack
Get your website off Posit Cloud
Get set up to work locally
Explore other publishing methods
Special thanks to Lydia for organizing, coordinating and facilitating