If you want GitHub Pages to host your website for free, then the repository must be public. If you make your repository private, then you have to pay for GitHub to host your website.
Click “Create”
Once created, copy the link to your repository from the URL
Project name should match the repository
Tools -> Terminal -> New Terminal
quarto create-project mysite --type website
Open the new folder mysite/
in the Files pane.
_quarto.yml
index.qmd
about.qmd
styles.css
_quarto.yml
quarto render mysite/
You should see a new docs/
folder in the Files Pane.
Under Git Options
In GitHub:
main
and /docs
from the drop downs_quarto.yml
= Website Structure*.qmd
= Website Contentstyles.css
= Website Formatting_quarto.yml
Project_quarto.yml
Websitewebsite:
title: "Brian Harrold"
site-url: https://stat-brain.github.io/bharrold/
search: true # allows users to search your site
navbar:
collapse-below: lg
right:
- href: index.qmd
text: Home
- href: research.qmd # add new files for each new page
text: Research
- href: about.qmd
text: About
- icon: github # can add social media icons
href: https://github.com/stat-brain
aria-label: GitHub
_quarto.yml
Format*.qmd
ContentWorks like R Markdown
*.qmd
YAMLstyles.css
Note: you can get a domain name and use that with your GitHub website