Friday, January 31, 2025


Overtime, youโll master HTML, CSS, and JavaScript to craft custom websites ๐ ๐ฎ Not bad!
Portfolio Section: Home
Portfolio Section: About
Portfolio Section: Projects
Portfolio Section: Blog
Portfolio Section: Talks
Portfolio Section: Home
Clone: Create local copy of your repository
Modify: Add Quarto files (.qmd) and content
Commit: Save changes with descriptive messages
Push: Sync to GitHub
Always pull before pushing to avoid conflicts!
Commit: Snapshots changes with a timestamp and messagePush: Uploads commits to GitHubPull: Downloads othersโ changes (critical for collaboration)git push --forcegitcreds_set() in Rusethis::create_github_token()git pull --rebase to integrate changes cleanlyUsing RStudio:
File โ New Project โ Version Control โ Git โ Input your Repo Link โ Create Project .Add your Website files with the Terminal:
Essential Files:
_quarto.yml โ Configuration settingsindex.qmd โ Homepage contentabout.qmd - About page contentstyles.css โ Custom styling for your site.noJekyll!Typical Repository Structure:
Important .gitignore Entries:
_site/
_cache/
.Rproj.user
.DS_Store
Ensure sensitive and auto-generated files are excluded.
_quarto.ymlCore Configuration:
project:
type: website
output-dir: docs # Required for GitHub Pages
website:
title: "My Professional Portfolio"
navbar:
left:
- href: index.qmd
text: Home
- href: about.qmd
text: About
right:
- icon: github
href: https://github.com/yourusername
format:
html:
theme: cosmo # Bootstrap Theming (automatic, simple)
css: styles.css # Customize it to your hearts content
toc: trueKey Points:
output-dir set to docs aligns with GitHub Pages requirements.navbar to include relevant sections.Configure GitHub Pages:
Settings โ Pages.main branch and /docs folder as the source.Initial Deployment Steps:
Render Locally:
docs/ directory is generated with your site files.Commit Changes:
Push to GitHub:
Customize Your Site:
navbar section in _quarto.yml to include new pages.styles.css to personalize the appearance..qmd files for additional sections like Blog or Contact.Quarto Documentation:
Quarto Projects
GitHub Pages Guides:
GitHub Pages Documentation
GitHub Actions for Quarto:
Quarto GitHub Actions
RStudio Quarto Support:
RStudio Quarto
Bootswatch Themes:
Bootswatch Themes
