Public website for Tufa Labs.
- Add a team member: update site/_data/team.yml with the new entry and add the profile image under site/assets/images/.
- Add a research post: create a dated Markdown file in site/_posts/ with the usual front matter.
- Add a news item: create a Markdown file in site/_news/ with basic front matter.
title: the headline shown on the site and used in page metadata.date: the publish date and time used for sorting and display.author: the byline shown on the entry.description: the short summary used on listing pages and in metadata.layout: the Jekyll layout used to render the entry;postis the normal choice for research posts and news items.permalink: the canonical URL for a research post, usually under/research/<slug>/.external_link: optional; if set on a research post, the research index links directly to that external URL.sidenotes: optional; set totrueto enable the wider post layout needed for custom sidenotes and margin notes.
For news entries, title, date, author, and description are usually enough.
- Set
sidenotes: truein front matter to opt a post into the wider layout that supports custom sidenotes and margin notes. - See site/_posts/2000-01-01-sidenote-demo.markdown for a compact example of the Liquid tag syntax and usage.
- GitHub Pages automatically deploys the site through the
Pages deployGitHub Actions workflow.
-
Install
justif it is not installed already:# macOS brew install just # Linux (Debian/Ubuntu) sudo apt install justjustis required for the local workflow in this repository. -
Initialize the Ruby/Bundler toolchain and install site dependencies:
just init -
Build the site:
just build -
Serve the full site locally:
just serveThis serves the unified Jekyll source from
site/and writes output tobuild/. Then openhttp://localhost:4000/.To include unpublished news drafts (
published: false), runjust previewinstead.
- The editable website source lives in
site/. - Local test builds write to
build/, which is ignored by git. - GitHub Pages builds a separate
_site/artifact in CI and deploys that artifact. - The local workflow expects Ruby
3.4.9and Bundler4.0.3. just serveauto-rebuilds the site on changes and serves the canonical pretty URLs directly.
