Marino Lab Website Maintenance Manual
This manual explains how to maintain and publish the Marino Lab website.
Website stack
- Quarto
- Git
- GitHub Pages
- Custom domain: https://marinolab.unipa.it
Standard workflow
- Edit
.qmd,.css, or image files. - Preview:
quarto previewStop preview (Ctrl+C)
Render:
quarto render- Commit:
git add .
git commit -m "Describe your changes"- Publish:
git pushImportant files
_quarto.yml— configurationstyles.css— global stylingcollaborators.css— collaborator stylingCNAME— custom domain (never delete)images/logo/marinolab-logo.pngimages/logo/marinolab-favicon.png
Never edit files inside docs/; they are generated automatically.
Git problems
If push is rejected:
git pull --rebase origin main
git pushNever use git push --force.
Mobile testing
Open Chrome:
- F12
- Ctrl+Shift+M
- Select Pixel 7
- Refresh
Backups
Zip the entire marino-lab folder after major updates.
Never do
- Delete
CNAME - Delete
docs/CNAME - Rename
docs - Remove the custom domain
- Edit generated HTML in
docs
Checklist
- Edit
- Preview
- Render
- Commit
- Push
- Verify https://marinolab.unipa.it