Source for chicago.harperreed.com — a single-page Hugo site listing Harper's favorite Chicago spots, with a Leaflet map.
- Hugo + Tailwind CSS v3 (typography plugin)
- Place data lives in
data/favorites.yaml; category labels/colors indata/categories.yaml - Deployed on Netlify (
netlify.toml)
npm install
npm run dev # builds Tailwind, then hugo server at http://localhost:1313Run npm run css:watch in a second terminal if you're editing Tailwind classes.
npm test # builds the site and asserts on the outputAppend an entry to data/favorites.yaml:
- name: "Place Name"
description: "Why it's good."
location: "Neighborhood"
address: "123 W Example Ave, Chicago, IL 60601"
lat: 41.93181
lng: -87.70113
url: "https://example.com/"
friends: true # optional ⭐
type: restaurant # must exist in data/categories.yaml
subtype: chinese # optional; groups restaurants/shops
keywords: comma, separated, search, terms