Personal website of Adriano Rutz. The HTML site is built with Eleventy; the PDFs (CV and selected posts) are built with Quarto + LaTeX, so the two stay decoupled: Quarto is no longer the website renderer, only the PDF renderer.
- Content source of truth --- the
.qmdfiles and_includes/entities/*.yml. - HTML site --- Eleventy reads Markdown extracted
from the
.qmdsources intosrc/content/byscripts/site/migrate_posts.py. - PDFs ---
scripts/site/render-pdfs.mjsrunsuv run quarto render --to pdffor exactly the documents that opt in (cv.qmdand posts withformat-links: [pdf]). Quarto is optional for local HTML development: if it isn't installed the build proceeds without PDFs.
# 1. Clone the repository
git clone https://github.com/adafede/adafede.github.io.git
cd adafede.github.io
# 2. Install JavaScript dependencies (requires Bun 1.4+ and Node.js 26+)
bun install --frozen-lockfile
# 3. Install Python dependencies (requires Python 3.14+ and uv)
uv sync --all-extrasRun the Eleventy development server with hot reload:
bun run devValidate the site (links, RDFa, document structure, contrast):
bun run checkRun Python tests:
uv run pytestOne command builds everything --- PDFs, content, and the Eleventy site --- and is the same command used locally and in CI/deploy:
bun run build:allThat runs, in order:
| Step | Script | Produces |
|---|---|---|
| 1 | bun run render-pdfs |
_site/*.pdf (Quarto + LuaTeX; skipped if no tool chain) |
| 2 | bun run sync:content |
src/content/**, then public/ (migrate .qmd → Markdown, stage PDFs, optimise images, talk map, expertise, redirects, minify CSS) |
| 3 | bun run build:eleventy |
_eleventy_site/ (Eleventy + CSS) |
The PDF step runs before the content migration on purpose: the migrator only
writes a pdf: link into a post's frontmatter when the PDF already exists in
_site/posts/, so reversing the order would drop every PDF button.
| Command | Purpose |
|---|---|
bun run dev |
Serve Eleventy locally with hot reload. |
bun run build |
Build only the Eleventy HTML site (no PDFs, no migration). |
bun run sync:content |
Re-migrate src/content/ and stage public/ only. |
bun run render-pdfs |
(Re)render only the Quarto PDFs. |
bun run check |
Validate links, RDFa, document structure, and color contrast. |
bun run check:a11y |
Run pa11y (axe + HTMLCS) over the served site. |
publish.yml runs bun run build:all and publishes _eleventy_site/ to GitHub
Pages. PDFs render there because the deploy job installs TeX Live and Quarto.
filters/*.lua inject CiTO citation relations into the Quarto PDFs. The
Eleventy HTML side re-asserts the same relations as RDFa (cito:usesMethodIn,
cito:citesAsRecommendedReading, etc.), so the published HTML and the PDFs
carry consistent citation metadata.
This project is licensed under the GNU Affero General Public License version 3 (AGPL-3.0). See LICENSE for the full license text.