A clinical reference website for general practitioners and primary care clinicians in Aotearoa New Zealand.
Built with: Eleventy 11ty · Nunjucks templating · GitHub Pages
Live site: https://workingdiagnosis.xyz
git clone https://github.com/[your-username]/working-diagnosis.git
cd working-diagnosis
npm install
npm run serve
# Opens at http://localhost:8080
npm run build
# Creates dist/ folder
Create a Markdown file in the appropriate content directory:
# Essay
src/content/essays/my-essay.md
# Explainer
src/content/explainers/topic-name.md
# Guideline/Topic
src/content/topics/condition-name.md
# Calculator
src/content/calculators/tool-name.md
Add front matter (required fields: layout, title):
---
layout: essay
title: My Clinical Topic
breadcrumb: Field Notes
description: One-line description
publishedDate: 2026-09-07
readTime: 12
---
# Your Markdown content here
Build and it appears automatically:
npm run build
See CLAUDE.md for detailed maintenance guide.
All design tokens in src/css/global.css:
To change a style globally, edit one CSS variable.
npm run serve # Dev server with hot reload
npm run build # Production build
npm run watch # Watch mode without server
npm run debug # Verbose build output
Automatic via GitHub Actions on push to main branch. Site deploys to GitHub Pages.
CC-BY-NC-SA-4.0 (Creative Commons Attribution-NonCommercial-ShareAlike)
Working Diagnosis is a personal project by Li, a GP registrar in Christchurch, NZ. Clinical interests include dermatology, medico-legal writing, aged care, and LGBTQ+ health.
For maintenance & development guidance, see CLAUDE.md