A static site for the DLF Forum 2025 in Denver, built with Eleventy and Tailwind CSS.
- Node.js 20 or later (npm included)
- pnpm 8 or later (recommended)
- ImageMagick (
magickCLI) for resizing hero images - cwebp (WebP tools) for WebP conversion
Clone the repo and install dependencies:
git clone https://github.com/clirdlf/forum2025.diglib.org.git
cd forum2025.diglib.org
pnpm install| Command | Description |
|---|---|
pnpm start |
Run dev server and watch CSS (http://localhost:8080) |
pnpm test |
Execute unit tests (Jest) |
pnpm build |
Build production site (HTML + CSS) |
pnpm lint |
Run ESLint, Stylelint & HTML-Validate |
pnpm format |
Format codebase with Prettier |
pnpm format:check |
Check code formatting with Prettier |
pnpm clean |
Remove generated site folder (_site) |
pnpm cache:zenodo |
Cache Zenodo presentations |
This pulls submissions from the DLF Forum community for a given year (e.g. 2025) and places the metadata in src/_data/presentaitons.json. These are then rendered at build time. The presentations are then available at /presentations/.
pnpm cache:zenodoFor use in future years, this also accepts a command-line argument for a given year:
pnpm cache:zenodo 2026Source for this is in lib/cache-zenodo.js.
pnpm lint
pnpm format:checkpnpm testpnpm buildOutput in _site.
Continuous deployment via GitHub Actions: pushes to main or dev trigger
.github/workflows/deploy.yml to build & publish to GitHub Pages.
This project uses GitHub Actions for CI to enforce linting, formatting, testing, and build checks on
every push and pull request. See .github/workflows/ci.yml for details.
| Script | Description |
|---|---|
./resize_images.sh |
Resize images in src/static to a max of 2560×1400 via ImageMagick (mogrify). |
./generate_webp.sh |
Convert .jpg files in src/static to .webp using cwebp (use --all to reprocess). |
Resize inline using Eleventy Image plugin:
<img eleventy:widths="200,600" src="/static/CLCS-46.jpg" alt="Learn@DLF" class="object-cover" />Contributions are welcome! Please read CONTRIBUTING.md for guidelines on filing issues and submitting pull requests.
All notable changes are documented in CHANGELOG.md.
- Photo by Aziz Acharki on Unsplash
- Photo by Andrew Preble on Unsplash
- Photo by JJ Shev on Unsplash
- Photo by Nico Smit on Unsplash
- Photo by Xuan Nguyen on Unsplash
- Photo by Samuel Regan-Asante on Unsplash
- Photo by Jonathan Beckman on Unsplash
- Photo by MARK HESSLING on Unsplash
- Photo by Logan Bonjean on Unsplash
- Photo by Marcel on Unsplash
- Photo by Giulia May on Unsplash
- Photo by Boston Public Library on Unsplash
- Photo by Pieter van de Sande on Unsplash
- Photo by Emily Morter on Unsplash