Theodore Roosevelt Presidential Library Labs

TRPL Labs  /  Content Tool

Content Tool

Anniversaries

Shows which milestones hit a round anniversary this year and the next five.

Screenshot of Anniversaries

Try it right here

This loads the live project from its own domain, exactly as a visitor would see it.

What it does

A small static page that reads a curated list of dated events and surfaces those whose anniversary in a given year lands on a multiple of five. Tabs cover the current year plus five ahead, each entry showing the original date, the anniversary number, and a sentence or two of context.

It exists because commemoration planning happens a year out, not a week out. Any institution with a founder, a building, or a collection has the same problem — replace one JSON file and it is your chronology.

What it can do

  • Tabbed view across six years, current year first
  • Automatic five-year-multiple anniversary calculation
  • Month-and-day sorting, with undated entries falling to the bottom
  • The whole dataset editable as one plain JSON file, no build step
  • Deploys on every push to main

Make it your own

Start by forking the repository into your own organization. Everything below assumes you are working in your fork, not this one.

# clone your fork git clone https://github.com/YOUR-ORG/TRAnniversaries.git cd TRAnniversaries
  1. Fork the repo and set Settings → Pages → Source to GitHub Actions.
  2. Replace events.json with your own events. Each object takes a year, optional month and day, a title, and a description.
  3. Swap the logo and edit the headings, colors, and copy in index.html.
  4. Add a CNAME file and matching DNS record if you want a custom hostname.
  5. Preview locally with python3 -m http.server 8000 — the page fetches its JSON, so a file:// URL will not work.
  6. Verify every date against a primary source before publishing.

Stuck on a step? Open an issue on the repository. Questions from people adapting these for their own institution are the most useful feedback we get.