Source for the Valenzano Lab website at the Leibniz Institute on Aging.
The site is built with Quarto and deployed to GitHub Pages via the gh-pages branch.
| Branch | Purpose |
|---|---|
quarto-redesign |
Active development — all edits go here |
gh-pages |
Auto-managed by quarto publish, never hand-edited |
main |
Receives merge from quarto-redesign when ready to release |
legacy-html-site |
Frozen original Distill site, never touched |
- Get a GitHub account.
- Familiarize yourself with git and Quarto.
- Ask Dario to add you as a collaborator on this repo.
All commands run from inside the _site/ directory (the Quarto project root).
Edit source files, then commit and push:
git add -u # stage modifications to tracked files
git add <any-new-files> # stage genuinely new files explicitly
git commit -m "description"
git push origin quarto-redesignDeploy the live site:
quarto publish gh-pagesThis renders the site and pushes the output to gh-pages in one step. No need to run quarto render separately.
Preview locally before publishing:
quarto previewCreate a new folder under posts/ and add an index.qmd:
posts/
└── YYYY-MM-DD-short-title/
└── index.qmd
Front matter template:
---
title: "Post title"
date: YYYY-MM-DD
author: "Dario Valenzano"
categories: [field-work, killifish]
description: "One sentence summary shown in the listing."
---- Use
git add -urather thangit add .to avoid committing.DS_Storeand other junk. - Stay on
quarto-redesignfor all development. Do not push tomainuntil ready to formally release. - Never edit the
gh-pagesbranch directly.