Source code for Kylie Ainslie's personal academic website: kylieainslie.github.io
- Generator: Quarto
- Hosting: GitHub Pages
- Language: R + Quarto Markdown (.qmd)
The site is organized into main sections:
index.qmd- Homepage with introductionabout.qmd- Professional background and research interestsresearch.qmd- Current and past research projectspublications.qmd- Academic papers and outputssoftware.qmd- R packages and computational toolspresentations.qmd- Conference talks and presentationstutorials.qmd- Educational resources and guidescv.qmd- Academic curriculum vitae
Supporting content is organized in directories (pdfs/, presentations/, tutorials/, etc.)
├── _site/ # Generated site (Quarto output)
├── docs/ # Documentation
├── images/ # Site images
├── pdfs/ # PDF downloads
├── photos/ # Profile photos
├── presentations/ # Presentation files
├── pubs/ # Publications directory
├── tutorials/ # Tutorial content
├── _quarto.yml # Site configuration
├── *.qmd # Page content (Quarto Markdown)
├── styles.css # Custom CSS
└── kylieainslie.github.io.Rproj # R Project file
- R (4.0+)
- Quarto CLI
- RStudio (recommended)
git clone https://github.com/kylieainslie/kylieainslie.github.io.git
cd kylieainslie.github.ioOpen kylieainslie.github.io.Rproj in RStudio or run:
quarto preview # Development server
quarto render # Build siteSite will be available at http://localhost:4200
The site automatically deploys to GitHub Pages when changes are pushed to the main branch.
.nojekyllfile prevents Jekyll processing_site/contains the rendered output- GitHub Pages serves directly from the repository
- Pages: Edit
.qmdfiles in root directory - Configuration: Modify
_quarto.yml - Styling: Update
styles.css - Assets: Add files to appropriate directories (
images/,pdfs/, etc.)
Adding a new publication:
- Update
publications.qmdwith new entry - Add PDF to
pdfs/directory if available - Run
quarto renderto rebuild
Adding a presentation:
- Create folder in
presentations/YEAR/event-name/ - Add presentation files (slides, materials)
- Update
presentations.qmdwith new entry
Optimizing images:
- Use web-optimized formats (WebP, optimized PNG/JPEG)
- Compress images before uploading
- Consider using
images/for site assets,photos/for personal photos
Site not updating after push:
- Check GitHub Pages settings in repository
- Verify
_site/directory was committed - Check for build errors in Actions tab
Quarto render fails:
- Ensure R packages are installed
- Check for syntax errors in
.qmdfiles - Verify
_quarto.ymlis valid YAML
Images not displaying:
- Check file paths are relative to site root
- Ensure image files are committed to repository
- Verify file extensions match actual file types
Feel free to open issues for bugs or suggestions. For major changes, please open an issue first.
Website content: CC BY 4.0
Code: MIT License