Static site built with Zola. Deployed to GitHub
Pages by .github/workflows/publish.yml on every push to main, using the
Pages deployment API (upload-pages-artifact + deploy-pages) rather than
pushing a gh-pages branch.
This requires Settings → Pages → Build and deployment → Source = "GitHub
Actions". The custom domain lives in those same settings, not in a CNAME
file — with this publishing source a CNAME file in the repo does nothing.
The repo is deliberately a project site (homepage), not the user site
(andreabedini.github.io). A custom domain on the user site is inherited by
every project site, which would move them from
andreabedini.github.io/<repo> to www.andreabedini.com/<repo>. A custom
domain on a project site applies to that repo only.
zola serve # http://127.0.0.1:1111, live reload
zola build # -> public/
zola check # validate internal and external linksPinned to Zola 0.23.4 in mise.toml; CI installs it with
jdx/mise-action, so local and CI builds use the same binary. 0.23 replaced
Tera macros with components, so templates/components.html uses the
{% component %} / {{<name />}} syntax rather than {% macro %}.
-
content/— pages and posts. The CV, Projects and Academia pages keep their data in TOML front matter ([extra]) and are rendered by their own templates; posts are ordinary markdown. -
templates/— Tera templates.components.htmlholds the shared components (icons, wordmark, tags, CV rows). -
static/css/ds/— the design system frompersonal-design-system(theandreabedini-designAgent Skill). It is no longer a verbatim copy; local edits pending validation upstream:tokens/fonts.css— the Google Fonts@importmoved intotemplates/base.htmlso the fonts load in parallel.tokens/colors.css—--ink-4and--blue-softretuned for contrast, the ink scope's--text-faintlifted, and a site-wide dark mode added on top of the system's scoped[data-theme="ink"].tokens/base.css—::selectionmoved onto semantic tokens.
Re-copying from upstream will drop all of that, so reconcile rather than overwrite.
-
static/css/site.css— the site layer: the UI-kit primitives (Button, Tag, Card, Avatar, Wordmark) re-implemented as CSS classes against the design system's custom properties.