Websites

Slides

View slides in full screen

Exercises

Exercise 1

  1. Get the starter template. If you’re using Posit Cloud, skip this step and instead open the whr-website project. If you’re using Codespaces, follow the instructions here, but go to this repo instead.

  2. Open index.qmd and click Render/Preview.

  3. Edit title index.qmd YAML to better reflect the site and add a subtitle. Preview.

  4. Add some text to index.qmd explaining the plot. Preview.

Exercise 2

  1. Add some information to about.qmd.
  2. Edit _quarto.yml so that the navbar includes the about page.
  3. How do you think you change the position of the links in the navbar? Change them to appear on the right.

Exercise 3

Publish your website to Quarto Pub.

  1. From the Terminal, run quarto publish, then select Quarto Pub.
  2. Follow the prompts to set up an account and publish.

If you have time, publish to Connect Cloud. Note: if you’re using R, you will need an renv.lock file (learn how here) if publishing from Positron or VS Code, or a manifest.json file (learn how here) if publishing from GitHub.